An alternate Prelude for promote modern best practices.
Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Foundation.hs
README.md

README.md

An alternate Prelude. Unique features:

  • Does not replace any of the existing type classes. Because of this, using Foundation does not introduce a high overhead.

  • Places as many functions as possible in type classes. This means functions like takeWhile work for normal lists, Text, and ByteString.

  • Promotes modern best practices, e.g. use Text for textual data.