Hi,
In message "list comprehension and default argument name"
on 02/11/25, "Bulat Ziganshin" <bulatz / integ.ru> writes:
|1. list comprehension
|
|{ |x<-0...n| x*2 }
(0...n).map{|x|x*2}
|{ |n, x<-0...n, y<-0..x| [x,y] }
I'm not sure how this works.
|2. default argument name to block/method
Hmm. I don't think it's good.
matz.