thoughtpolice / haskal
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
haskal /
README
haskal is the haskell shell.
here is a basic configuration file for
the shell:
{-# LANGUAGE NoMonomorphismRestriction #-}
module Config (config) where
import Haskal.ConfigAPI as API
import Text.PrettyPrint.HughesPJ as PP
config :: Config
config = defaultConfig
{ prompt = mkPrompt [ user, at, host, API.colon
, currentDir, API.rangle, s' ]
, dir = "~/.haskal"
, verbose = False
} where s' = return $ PP.text " "
Put this in ~/.haskal/Config.hs and run `haskal'.
see src/Haskal/ConfigAPI.hs for available features. the
file src/config_stub includes the basic stub that is
included in every configuration and it shows the imports
given to you.
improvements welcome.

