Talk:Partial function application: Difference between revisions

Line 234:
</lang>
 
Not entirelyPossible-correct Ruby 1.9 implementation:
 
<lang ruby>
Line 250:
 
u = f2.curry[7][9]
wv = gf2.call(curry[7).call(,9)]
w = g[7][9]
puts [ [1,2,3,4,5].map {|x| u[x]} \
, [1,2,3,4,5].map {|x| w.call v[x]} ]\
, [1,2,3,4,5].map {|x| w[x]} ]
</lang>
Anonymous user