Anonymous user
Talk:Partial function application: Difference between revisions
→Proposal for new task description: ruby 1.9
(→Proposal for new task description: ruby 1.9) |
(→Proposal for new task description: ruby 1.9) |
||
Line 234:
</lang>
<lang ruby>
Line 250:
u = f2.curry[7][9]
w = g[7][9]
puts [ [1,2,3,4,5].map {|x| u[x]} \
, [1,2,3,4,5].map {|x|
, [1,2,3,4,5].map {|x| w[x]} ]
</lang>
|