1
Fork 0
A replacement to the default Prelude.
Go to file
Joshua Potter 1024c35452 Normalize transformer imports.
Importantly, we want our transformer "singular" type aliases to be
consistent. Therefore ban the use of the Maybe transformer (which we can
easily replaces instances of with ExceptT () instead) and the either
transformer (instead, favor use of ExceptT).
2017-12-12 22:16:25 -08:00
src Normalize transformer imports. 2017-12-12 22:16:25 -08:00
.gitignore Initial commit. 2017-11-25 17:58:39 -08:00
LICENSE Initial commit. 2017-11-25 17:58:39 -08:00
README.md Setup default Prelude and basic documentation. 2017-11-25 18:49:55 -08:00
Setup.hs Initial commit. 2017-11-25 17:58:39 -08:00
postlude.cabal Normalize transformer imports. 2017-12-12 22:16:25 -08:00
stack.yaml Have latest transformers library installed. 2017-11-27 06:46:28 -08:00

README.md

Postlude

A replacement to the default Prelude.

Usage

Disable the built-in prelude at the top of your file:

{-# LANGUAGE NoImplicitPrelude #-}

Or directly in your project cabal file:

default-extensions: NoImplicitPrelude

Then in your modules:

import Postlude