2module LoadLibraries (docs) where
4import Language.Haskell.TH.Syntax
9docs = liftString =<< qRunIO readDocs
13 name <- getDataFileName "docs.json"
14 exists <- doesFileExist name
15 if exists then readFile name
16 else putStrLn warning >> return "{\"modules\":[]}"
18warning = "Warning! Types for standard library not loaded properly!\n\
19 \Run the following commands after compilation:\n\
21 \ touch compiler/Model/LoadLibraries.hs\n\
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