basic-prelude

An enhanced core prelude; a common foundation for alternate preludes. https://github.com/snoyberg/basic-prelude

LTS Haskell 8.23:0.6.1.1
Stackage Nightly 2017-07-21:0.6.1.1
Latest on Hackage:0.6.1.1
MIT licensed by Michael Snoyman, Dan Burton
Maintained by michael@snoyman.com

Module documentation for 0.6.1.1

basic-prelude

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.

Changes

0.6.1.1

  • Add HasCallStack for terror

0.6.1

  • Generalize sum and product to Foldable #69

0.6.0

  • Export show from Show typeclass, and rename current show to tshow #67

0.5.2

  • Expose bool

0.5.1

  • Expose asum
  • Deprecate empty (so it can be replaced with Alternative's empty)

0.5.0

  • Expose more Foldable/Traversable stuff

0.4.1

  • terror

0.4.0

  • Drop system-filepath

0.3.13

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

0.3.12

  • Add fromShow #55

0.3.11

0.3

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

0.2

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

0.1

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