foundation

Alternative prelude with batteries and no dependencies

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

Version on this page:0.0.21
LTS Haskell 22.14:0.0.30
Stackage Nightly 2024-03-28:0.0.30
Latest on Hackage:0.0.30

See all snapshots foundation appears in

BSD-3-Clause licensed by Vincent Hanquez
Maintained by [email protected]
This version can be pinned in stack with:foundation-0.0.21@sha256:28774f748ac906b71dec82250da9fd8170da2ddb949dee8afa3299f030e616d1,11545

Module documentation for 0.0.21

  • Foundation
    • Foundation.Array
      • Foundation.Array.Internal
    • Foundation.Bits
    • Foundation.Check
      • Foundation.Check.Main
    • Foundation.Class
      • Foundation.Class.Bifunctor
      • Foundation.Class.Storable
    • Foundation.Collection
    • Foundation.Conduit
      • Foundation.Conduit.Textual
    • Foundation.Exception
    • Foundation.Foreign
    • Foundation.Format
      • Foundation.Format.CSV
    • Foundation.Hashing
    • Foundation.IO
      • Foundation.IO.FileMap
      • Foundation.IO.Terminal
    • Foundation.List
      • Foundation.List.DList
      • Foundation.List.ListN
    • Foundation.Math
      • Foundation.Math.Trigonometry
    • Foundation.Monad
      • Foundation.Monad.Except
      • Foundation.Monad.Reader
      • Foundation.Monad.State
    • Foundation.Network
      • Foundation.Network.IPv4
      • Foundation.Network.IPv6
    • Foundation.Numerical
    • Foundation.Parser
    • Foundation.Primitive
    • Foundation.Random
    • Foundation.Strict
    • Foundation.String
      • Foundation.String.Builder
      • Foundation.String.Read
    • Foundation.System
      • Foundation.System.Bindings
      • Foundation.System.Entropy
      • Foundation.System.Info
    • Foundation.Time
      • Foundation.Time.Bindings
      • Foundation.Time.StopWatch
      • Foundation.Time.Types
    • Foundation.Timing
      • Foundation.Timing.Main
    • Foundation.Tuple
      • Foundation.Tuple.Nth
    • Foundation.UUID
    • Foundation.VFS
      • Foundation.VFS.FilePath
      • Foundation.VFS.Path
      • Foundation.VFS.URI
Used by 3 packages in nightly-2018-09-23(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