foundation

Alternative prelude with batteries and no dependencies

https://github.com/haskell-foundation/foundation

Version on this page:0.0.25
LTS Haskell 22.37:0.0.30
Stackage Nightly 2024-10-10:0.0.30
Latest on Hackage:0.0.30

See all snapshots foundation appears in

Used by 1 package in lts-16.11(full list with versions):

A custom prelude with no dependencies apart from base.

This package has the following goals:

  • provide a base like sets of modules that provide a consistent set of features and bugfixes across multiple versions of GHC (unlike base).

  • provide a better and more efficient prelude than base's prelude.

  • be self-sufficient: no external dependencies apart from base.

  • provide better data-types: packed unicode string by default, arrays.

  • Better numerical classes that better represent mathematical thing (No more all-in-one Num).

  • Better I/O system with less Lazy IO

  • Usual partial functions distinguished through type system