foundation: Alternative prelude with batteries and no dependencies

[ bsd3, foundation ] [ Propose Tags ]

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

Flags

Manual Flags

NameDescriptionDefault
experimental

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

Disabled
bench-all

Add some comparaison benchmarks against other haskell libraries

Disabled
minimal-deps

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

Disabled
bounds-check

Add extra friendly boundary check for unsafe array operations

Disabled
doctest

Build doctest on demand only

Disabled
linktest

Run linking test

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 0.0.23, 0.0.24, 0.0.25, 0.0.26, 0.0.26.1, 0.0.27, 0.0.28, 0.0.29, 0.0.30
Dependencies base, basement (==0.0.10), ghc-prim, Win32 (<2.12) [details]
License BSD-3-Clause
Copyright 2015-2017 Vincent Hanquez <vincent@snarc.org>, 2017- Foundation Maintainers
Author Vincent Hanquez <vincent@snarc.org>
Maintainer vincent@snarc.org
Revised Revision 2 made by sjakobi at 2022-01-22T17:05:11Z
Category foundation
Home page https://github.com/haskell-foundation/foundation
Bug tracker https://github.com/haskell-foundation/foundation/issues
Source repo head: git clone https://github.com/haskell-foundation/foundation(foundation)
Uploaded by VincentHanquez at 2019-02-06T06:49:36Z
Distributions Arch:0.0.30, Debian:0.0.25, Fedora:0.0.30, LTSHaskell:0.0.30, NixOS:0.0.30, Stackage:0.0.30
Reverse Dependencies 17 direct, 3788 indirect [details]
Downloads 107447 total (286 in the last 30 days)
Rating 2.25 (votes: 4) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-02-08 [all 1 reports]