Re:A Week with Elixir
by zem on Friday May 31, 2013 @03:43PM
(#5800917)
slotting into the first argument position is not weird, it's the functional idiom for the pattern "take a single value and apply a sequence of transforms (some of which have side inputs) to it". in an object-oriented language it would be foo = bar.f(args).g(args).h(args) where bar is being "piped" through the functions f, g, and h.
[ Parent
| on HN ]
There are no comments on this comment yet.