4import Data.List (intercalate)
5import qualified Data.Set as Set
19data Scheme = Forall (Set.Set X) Type deriving (Eq, Ord, Show)
21data Constructor = Constructor String [Type] deriving (Eq, Show)
23parens = ("("++) . (++")")
25instance Show Type where
32 ; LambdaT t1 t2 -> parens $ show t1 ++ " -> " ++ show t2
34 ; AppT name args -> name ++ " " ++ unwords (map show args)
35 ; ADT "List" [tipe] -> "[" ++ show tipe ++ "]"
37 ; ADT name cs -> parens $ name ++ " " ++ unwords (map show cs)
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