@hackage / foundation

Alternative prelude with batteries and no dependencies

Latest0.0.30

About

Metadata

  • Last updated , by VincentHanquez
  • License BSD-3-Clause
  • Maintained by: vincent@snarc.org

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    experimental (off by default)

    Enable building experimental features, known as highly unstable or without good support cross-platform

    bench-all (off by default)

    Add some comparaison benchmarks against other haskell libraries

    minimal-deps (off by default)

    Build fully with minimal deps (no criterion, no quickcheck, no doctest)

    bounds-check (off by default)

    Add extra friendly boundary check for unsafe array operations

    doctest (off by default)

    Build doctest on demand only

    linktest (off by default)

    Run linking test

Readme

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