4 ms·
In Ruby it's even easier: module Kernel alias ? lambda end (where ? is the lambda-sign... why does it show in the title but not in the comments?
by mdemare 19y ago
In Ruby it's even easier:
module Kernel
alias ? lambda
end
(where ? is the lambda-sign... why does it show in the title but not in the comments? oh well...)
and put this:
$KCODE = 'UTF-8'
at the beginning of your program. I used it for a while but eventually dropped it because a lack of editor support and the strange look of the lambda in my chosen font.