Skip to content

haskell-hvr/base-noprelude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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