Skip to content

juhp/haskal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

a unix shell written in haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published