humble-prelude: Redefinition-free prelude alternative

[ bsd3, library, prelude ] [ Propose Tags ]


[Skip to Readme]


Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 0, 0.1, 0.2
Change log
Dependencies base (>= && <5), bytestring, deepseq, ghc, text [details]
License BSD-3-Clause
Copyright Copyright (c) Fumiaki Kinoshita
Author Fumiaki Kinoshita
Category Prelude
Bug tracker
Source repo head: git clone
Uploaded by FumiakiKinoshita at 2020-01-16T12:13:58Z
Distributions NixOS:0.2
Downloads 787 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-01-16 [all 1 reports]

Readme for humble-prelude-0.2

[back to package description]

humble-prelude: the worst prelude alternative

Build Status Hackage Discord

This library aims to be an intersection of the current prelude ands "how it should be in the future". Unlike many other prelude alternatives, this package does not:

  • Introduce any new abstraction
  • Provide new functions
  • Reexport a bunch of other libraries

Instead it's a subset of Prelude. Any Haskell source based on HumblePrelude should also be buildable with Prelude.

For those who want more convenience, HumblePrelude.Extras reexports things that are frequently imported only for one or two symbols (e.g. Generic for deriving). But nothing else.


One of the well-known problems of Prelude alternatives is the tempo loss of importing the module itself. humble-prelude offers a GHC plugin that imports any module specified in the flag. Add the following lines into your cabal file:

  ghc-options: -fplugin=HumblePrelude.Extras
  default-extensions: NoImplicitPrelude