ghc-foundation - Alternative prelude with batteries and no dependencies

Property Value
Distribution openSUSE Leap 15.1
Repository openSUSE Oss all
Package filename ghc-foundation-0.0.23-lp151.1.2.x86_64.rpm
Package name ghc-foundation
Package version 0.0.23
Package release lp151.1.2
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 481.05 KB
Installed size 3.16 MB
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.


Package Version Architecture Repository
ghc-foundation - - -


Name Value - - - - - - - -


Name Value
ghc-foundation = 0.0.23-lp151.1.2
ghc-foundation(x86-64) = 0.0.23-lp151.1.2 -


Type URL
Binary Package ghc-foundation-0.0.23-lp151.1.2.x86_64.rpm
Source Package ghc-foundation-0.0.23-lp151.1.2.src.rpm

Install Howto

Install ghc-foundation rpm package:

# zypper install ghc-foundation




2019-02-07 -
- Update foundation to version 0.0.23.
Upstream does not provide a change log file.
2018-10-20 - Peter Simons <>
- Use https URL to refer to
2018-08-07 -
- Update Cabal build information to support pre-8.x compilers.
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-07-13 -
- Update foundation to version 0.0.21.
Upstream has removed the change log file they used to maintain
before from the distribution tarball.
2018-05-14 -
- Update foundation to version 0.0.20.
* Reduce algorithm duplication between native and foreign backend
* Improve Unicode cases algorithm and increase testing
* Add CSV Builder
* Add a BitOps & FiniteBitOps classes to have better types than the Data.Bits.Bits class
* Improve BlockN operations
* Improve ListN operations
* Allow compilation with gauge 0.1
* Add support for [haskell-ci](
* Add Block, UArray, String Builder
* Improve concat for Block andd UArray
* Add unicode case mapping
* Re-add compatibility with ghc 7.8
* Add missing lowlevel Block functionality
* Cleanup UArray to use more functions from Block
* Push Xoroshiro down to basement
* Add instances for foundation's numerical classes for C types
* Update benchmarks to gauge 0.2.0
* Add documentation to some block & uarray functions
* Add Terminal capabilities: ANSI Escape, UTF8 codepage initialization, get dimensions
* Checks: Output now has colors
* Hashable: Add Word128 & Word256 & Boxed Array instances
* Semigroup: Compatibility with GHC 8.4
* Drop criterion for benchmark, now use Gauge
* Remove more UnboxedTuples from Foundation for easier loading with bytecode interpreter
* Reduce overhead of profiling common primitive operation like size and offset addition by
preventing auto-caf in abstraction module
* Optimise UTF8 validation
* Optimise String toList (allow fusion)
* Optimise String reversal
* Merge different version of lowlevel array algorithms with one backed by a class.
* Zn64/Zn : Add Num, Additive, Subtractive, NormalForm, Arbitrary instances
* Re-organize type sized structure and add UVect and Vect
* Cleanup constraint in ListN, and add couple of combinators
* Add ExceptT
* Add some exception combinators (try,finally) that works with foundation classes.
* Tidy mutable algorithm for sorting removing redundant code
* Add primitive to convert Double/Float to Word64/Word32
* Cleanup withPtr / getAddr code to be safer
* Add Bits instance for Natural compat with 7.8
* Add bounded Natural (Zn & Zn64)
* Add Word128 and Word256
* Add From/Into type class
* Add breakEnd, spanEnd, revFindIndex
* Improve arrays sorting
* Add arrays fromListN implementation
* Add arrays convertion primitive
* Cleanup API
* Implement unsnoc
* Improve random generation with XorShift
* Improve ghc 8.2 support (warning removals)
* Remove dependency on QuickCheck
* Split lowlevel modules into basement package
* Fix compilation with musl
* Improve native array safety when using through pointer
* remove foldText
2017-08-03 -
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-07-11 -
- Update to version 0.0.13.
2017-06-25 -
- Update to version 0.0.12.
2017-06-19 -
- Update to version 0.0.11.

See Also

Package Description
ghc-foundation-devel-0.0.23-lp151.1.2.x86_64.rpm Haskell foundation library development files
ghc-free-5.1-lp151.1.3.x86_64.rpm Monads for free
ghc-free-devel-5.1-lp151.1.3.x86_64.rpm Haskell free library development files
ghc-fsnotify- Cross platform library for file change notification
ghc-fsnotify-devel- Haskell fsnotify library development files
ghc-gamma- Gamma function and related functions
ghc-gamma-devel- Haskell gamma library development files
ghc-generic-deriving-1.12.3-lp151.1.2.x86_64.rpm Generic programming library for generalised deriving
ghc-generic-deriving-devel-1.12.3-lp151.1.2.x86_64.rpm Haskell generic-deriving library development files
ghc-ghc-8.6.4-lp151.3.13.x86_64.rpm Haskell ghc library
ghc-ghc-boot-8.6.4-lp151.3.13.x86_64.rpm Haskell ghc-boot library
ghc-ghc-boot-devel-8.6.4-lp151.3.13.x86_64.rpm Haskell ghc-boot library development files
ghc-ghc-boot-th-8.6.4-lp151.3.13.x86_64.rpm Haskell ghc-boot-th library
ghc-ghc-boot-th-devel-8.6.4-lp151.3.13.x86_64.rpm Haskell ghc-boot-th library development files
ghc-ghc-compact- Haskell ghc-compact library