Haskell records in 2025 (Haskell Unfolder #45)

…and since that alternative for . apparently went nowhere:

Translated into Haskell:

infixr 9 `o`
o :: (b -> c) -> (a -> b) -> a -> c
(f `o` g) x = f (g x)

…since no-one here seems to have any great problem with “infix-quoting” the likes of div, mod, divMod, quot, rem, quotRem, et al.


Since you’ve apparently forgotten how this topic ended:


From FOLDOC:

Enjoy.

1 Like