by farrellm23 · 1y ago · 0 comments
`foldr` I almost never use, but it would be for: the return value is a lazy list and I will only need to evaluate a prefix.
Doubly so with APL!
Aside: I've got half a feeling you could implement an APL-like directly in Haskell as a DSL using Unicode-named functions. I've seen Unicode Haskell files that look like APL (and GHC supports a surprising amount of that almost out of the box, as I recall).