1module Initialize (initialize) where
3import Control.Applicative ((<$>))
4import Control.Monad.Error
5import Data.List (lookup)
8import Parse.Parser (parseProgram)
10import Types.Types ((-:))
11import Types.Hints (hints)
17 do modul@(Module name ex im stmts) <- parseProgram str
18 (escapees, subs) <- unify hints modul
19 let modul' = optimize . renameModule $ Module name ex im' stmts
20 where im' | any ((=="Prelude") . fst) im = im
21 | otherwise = ("Prelude", Hiding []) : im
22 subs `seq` return (escapees, modul')
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list