An enhanced core prelude; a common foundation for alternate preludes.

Version on this page:0.3.13
LTS Haskell 21.13:0.7.0
Stackage Nightly 2023-09-24:0.7.0
Latest on Hackage:0.7.0

See all snapshots basic-prelude appears in

MIT licensed by Michael Snoyman, Dan Burton
Maintained by
This version can be pinned in stack with:basic-prelude-0.3.13@sha256:22975647411f9fe359d42468882a71fd8a1fd58f6ad4be899b1925f16c6c7997,2086

Module documentation for 0.3.13


The premise of basic-prelude is that there are a lot of very commonly desired features missing from the standard Prelude, such as commonly used operators (<$> and >=>, for instance) and imports for common datatypes (e.g., ByteString and Vector). At the same time, there are lots of other components which are more debatable, such as providing polymorphic versions of common functions.

So basic-prelude is intended to give a common foundation for a number of alternate preludes. The package provides two modules: CorePrelude provides the common ground for other preludes to build on top of, while BasicPrelude exports CorePrelude together with commonly used list functions to provide a drop-in replacement for the standard Prelude.

Users wishing to have an improved Prelude can use BasicPrelude. Developers wishing to create a new prelude should use CorePrelude.



  • Export converters between FilePath <-> Text, String. #56


  • Add fromShow #55



  • Moved a number of exports from @BasicPrelude@ to @CorePrelude@ and vice-versa.


  • Renamed BasicPrelude to CorePrelude and added a new @BasicPrelude@ module provided a full-featured Prelude alternative. Also added a number of new exports.


  • Initial version, code taken from @classy-prelude@ with a few minor tweaks.