Popularity
1.2
Stable
Activity
5.8
Declining
0
1
0

Monthly Downloads: 106
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Prelude    
Latest version: v0.1

humble-prelude alternatives and similar packages

Based on the "Prelude" category

Do you think we are missing an alternative of humble-prelude or a related project?

Add another 'Prelude' Package

README

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.

Plugin

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.Plugin
  default-extensions: NoImplicitPrelude