News for hackers. Stuff that matters.
Re:Ask HN: How to be fluent in functional language speak? by centimeter on Wednesday May 06, 2020 @11:50AM (#23092409)
> "functions that can sensibly be used in a call to array.reduce"

You can use any function you want in a fold in Haskell. You're conflating two typeclasses, Monoids and Foldables, and restricting yourself to the function known in Haskell as foldMap.

There are no comments on this comment yet.