External Publication
Visit Post

Is there an idiomatic Haskell?

Haskell Community [Unofficial] May 11, 2026
Source

tobz619:

fmap is one of the most useful functions ever.

but avoid with tuples unless golfing:

λ> fmap (const 9) (1,2)
(1,9)
λ> fmap (const 9) (1,2,3)
(1,2,9)

Discussion in the ATmosphere

Loading comments...