nri-prelude-0.6.0.6: A Prelude inspired by the Elm programming language
Safe HaskellNone
LanguageHaskell2010

NriPrelude.Plugin

Description

A GHC plugin for a more Elm-like Haskell experience. It automatically adds an unqualified import of the NriPrelude module, and qualified imports of other base modules such as List and Maybe.

To use it make sure your project has nri-prelude listed as a dependency, then add the follwing ghc option to your cabal or package yaml file:

-fplugin=NriPrelude.Plugin
Synopsis

Documentation

plugin :: Plugin Source #

adds an unqualified import of the NriPrelude module, and qualified imports of other base modules such as List and Maybe.

To use it make sure your project has nri-prelude listed as a dependency, then add the follwing ghc option to your cabal or package yaml file:

-fplugin=NriPrelude.Plugin