2016-04-18 10:35:34 -04:00
2016-04-18 10:35:34 -04:00
2016-04-07 15:22:44 -04:00
2016-04-08 11:25:58 -04:00
2016-04-09 13:20:05 -04:00
2016-04-09 19:35:23 -04:00
2016-04-18 10:35:34 -04:00
2016-04-14 14:02:20 -04:00
2016-04-08 11:25:58 -04:00
2016-04-07 15:22:44 -04:00

Protolude

Build Status Hackage

A sensible starting Prelude for building custom Preludes.

Design points:

  • Banishes String.
  • Banishes partial functions.
  • Compiler warning on bottoms.
  • Polymorphic string IO functions.
  • Automatic string conversions.
  • Type synonyms for major data structures.
  • Basic monad transformers in scope by default.
  • Foldable / Traversable functions in scope by default.
  • Unsafe functions are prefixed with "unsafe" in separate module.
  • Compiler agnostic, GHC internal modules are abstracted out into Base.

Supports:

  • GHC 7.6.1
  • GHC 7.6.2
  • GHC 7.6.3
  • GHC 7.8.1
  • GHC 7.8.2
  • GHC 7.8.3
  • GHC 7.8.4
  • GHC 7.10.1
  • GHC 7.10.2
  • GHC 7.10.3
  • GHC HEAD

Usage

{-# LANGUAGE NoImplicitPrelude #-}

import Protolude

License

Released under the MIT License. Copyright (c) 2016, Stephen Diehl

Languages
Haskell 67.3%
PLpgSQL 21.5%
Python 6.7%
Nix 4.3%
Shell 0.2%