Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 651 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 651 Bytes

base-noprelude - base package sans Prelude

This package is, as the title gives away, a base-replacement that allows to define and/or use custom Preludes without having to use the -XNoImplicitePrelude language extension (or use import Prelude ()). I.e. instead of

{-# LANGUAGE NoImplicitPrelude #-}

module Main where

import CustomPrelude
import OtherStuff

by having a build-depends on base-noprelude instead of base and having a Prelude module in scope (can be provided by the current package or a 3rd package from build-depends), one can just write

module Main where

import OtherStuff