4 ms·
>"build a pipeline and feed data into it." Arrows in Haskell are actually pretty good at building functional left to right data processing pipelines.
by WoahNoun 3y ago
>"build a pipeline and feed data into it."
Arrows in Haskell are actually pretty good at building functional left to right data processing pipelines.
- epgui 3y agoArrows [1] are great, not sure why you were getting downvoted on that. --- [1] https://en.wikibooks.org/wiki/Haskell/Understanding_arrows https://en.wikibooks.org/wiki/Haskell/Understanding_arrows
- Waterluvian 3y agoYeah for sure! The tricky, prickly part of talking about FP is that we get into semantics a lot (eg. I'm sure there's Haskell experts who wouldn't consider JavaScript's `Array.prototype` functions to count as FP). Generally I'm thinking about `foo.map` vs. `for n in foo...`. Maybe "imperative" is a bit of a loaded term for this point.