Higher order versions of Prelude classes

Version on this page:
LTS Haskell 12.26:
Stackage Nightly 2018-09-28:
Latest on Hackage:

See all snapshots prelude-extras appears in

BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett

Module documentation for

This version can be pinned in stack with:[email protected]:256ff5156ea8611cc6208bc7e1afcf848fa6ebe02d2efc80943f00025f5e1586,1163

Higher order versions of Prelude classes to ease programming with polymorphic recursion and reduce UndecidableInstances

See for further discussion of the approach taken here.


  • Mark Prelude.Extras as Trustworthy

  • Added instances for the types in base where possible


  • Derived Functor, Foldable, and Traversable for Lift1 and Lift2


  • Fixed a broken #ifdef


  • Restructured so users can take advantage of default signatures
Depends on 1 package(full list with versions):
Used by 3 packages in lts-3.22(full list with versions):