General

Profile

jackmaple (maple jack)

  • Login: jackmaple
  • Registered on: 04/18/2020
  • Last sign in: 02/22/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 4 5

Activity

02/21/2022

04:16 PM Ruby Feature #18596 (Rejected): Enhance the syntax for getting values in existing arrays.
Hello everyone.
Is it possible to enhance the value syntax in arrays, currently we can pass one or two parameters in the array to take values.
``` ruby
[1,2,3,4,5,6,7,8,9][2] #result=3
[1,2,3,4,5,6,7,8,9][2,8] #result=[3, 4, 5, 6...
jackmaple (maple jack)

01/21/2022

05:27 PM Ruby Feature #18508 (Closed): Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal.
Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal.
When the content you enter is close to the bottom and there is not enough space for the content displayed in the autocomplete, it ...
jackmaple (maple jack)

12/14/2020

08:30 PM Ruby Feature #17392 (Rejected): Is there any plan to unify the namespace after ruby3

Hello.Currently, methods and variables in ruby are separated (lisp-2 semantics), but few people define variables and methods as the same name, right?
Although some people may do this, should we unify the namespace for the better devel...
jackmaple (maple jack)

05/18/2020

08:36 AM Ruby Feature #16898: Modify the syntax of -> lambda expressions in ruby3
Maybe my expression has some problems, sorry, it has been modified, in fact, what I want to say is that the existing lambda expression looks like the arrow symbol is not very intuitive.
If we can simplify the grammar, in some cases it wo...
jackmaple (maple jack)

05/17/2020

11:04 PM Ruby Feature #16898: Modify the syntax of -> lambda expressions in ruby3
matz (Yukihiro Matsumoto) wrote in #note-3:
> "Ugliness is in the eye of the beholder". Could you explain why the current syntax is ugly?
> ...
Hello, we currently have lambda syntax, but at present-> seems to be just a simplified altern...
jackmaple (maple jack)
06:04 AM Ruby Feature #16898 (Open): Modify the syntax of -> lambda expressions in ruby3
Hello ruby team.
Can we modify the syntax of lambda expressions in ruby3?
The current definition of lambda expression was added in ruby1.9, but this syntax looks too tedious.
``` ruby
lambda {|x| x + 1} #This looks elegant.
#but.....
jackmaple (maple jack)

04/19/2020

07:28 AM Ruby Feature #16794: Rightward operators
So,in fact,only one pipeline operator is needed to call the method in reverse.
``` ruby
puts "hello world"
#Pipeline call
"hello world" |> puts
```
jackmaple (maple jack)
04:34 AM Ruby Feature #16799: Add more functional features,make ruby more friendly.
Yes, changing the syntax is currently not a good choice, but I think it is necessary to modify the method call syntax to maintain the same form, and the method name is just a variable name (in order to support more flexible functional pr... jackmaple (maple jack)

04/18/2020

05:36 PM Ruby Feature #16799 (Rejected): Add more functional features,make ruby more friendly.
Classes are currently first-class citizens in Ruby, but functions are not.
This leads to a situation where the function calls are not uniform, for example:
``` ruby
def boo(x)
return x
end
boo2 = -> x { x }
a = boo 10
b = boo2....
jackmaple (maple jack)

Also available in: Atom