Created
May 19, 2013 16:23
-
-
Save travitch/5608146 to your computer and use it in GitHub Desktop.
A handy .ghci configuration to replace many prelude functions with their more general forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Prelude hiding ( mapM, mapM_, catch, sequence, sequence_, foldl, foldr, concat, concatMap, and, or, any, all, elem, notElem, maximum, minimum, sum, product, foldl1, foldr1, (.), id) | |
import Control.Applicative | |
import Control.Arrow | |
import Control.Category | |
import Control.Exception | |
import Data.Foldable | |
import Data.Monoid | |
import Data.Traversable | |
:set prompt "> " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment