Higher-order function combinators

Version on this page:
LTS Haskell 22.30:
Stackage Nightly 2024-07-21:
Latest on Hackage:

See all snapshots composition-prelude appears in

BSD-3-Clause licensed by Vanessa McHale
Maintained by [email protected]
This version can be pinned in stack with:composition-prelude-,1069

Module documentation for

Depends on 1 package(full list with versions):
Used by 1 package in lts-12.14(full list with versions):


Higher-order function composition.

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



  • Add between and ~@~

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

  • Add threadM
  • Generalize thread to work on any Foldable of functions