Higher-order function combinators

Latest on Hackage:

See all snapshots composition-prelude appears in

BSD-3-Clause licensed by Vanessa McHale
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:6afda35c8c8e8c6e0657bdad5fcf1b846962366798ea417e3e65045b7bf0c115,1069


Higher-order function composition.

An alternate version of what’s provided in composition and composition-extra.



  • Add monadic versions of various composition operators.
  • Performance improvements related to the inliner

  • Add threadM
  • Generalize thread to work on any Foldable of functions
Depends on 1 package(full list with versions):
Used by 1 package in lts-12.26(full list with versions):