pankajdoharey (Pankaj Doharey)
- Login: pankajdoharey
- Email: pankajdoharey@live.com
- Registered on: 12/11/2011
- Last sign in: 02/19/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 0 | 0 |
Activity
09/18/2020
-
08:35 AM Ruby Feature #16746: Endless method definition
- Why do we even need a ``` def ```. ? Why not just do it like Haskell?
``` ruby
triple(x) = 3*x
```
Since this is an assignment if triple hasn't already been assigned it should create a function otherwise it should pose a syntax error....
12/17/2014
-
06:45 AM Ruby Feature #9999: Type Annotations (Static Type Checking)
- Proposed syntax above is this :
> ~~~ruby
> ...
I think the proposed stabby Lambda syntax for typing is confusing, cause collisions and not very cool.
Possibly we could use something like the following.
> ~~~ruby
> ...