Is there a way in Ruby to convert a lambda to a proc?
-
-
@bascule@jonleighton to_proc just returns self. -
@tenderlove@jonleighton proc { |*args| mylambda[*args] } then? o_O -
@bascule@tenderlove@jonleighton but lambda is arity-sensitive. So that’s still not the same. -
@scottgonyea@bascule@tenderlove yeah I wanted to take a lambda and have it not care about being passed extra args
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.