1{-# OPTIONS_GHC -Wall -fno-warn-unused-do-bind #-}
2{-# LANGUAGE OverloadedStrings #-}
10import qualified Data.ByteString.UTF8 as Utf8
11import qualified Data.Text as Text
12import Data.Text (Text)
14import Parse.Primitives
15import qualified Parse.Primitives.Keyword as Keyword
16import qualified Parse.Primitives.Symbol as Symbol
17import qualified Parse.Primitives.Variable as Var
18import qualified Parse.Pattern as Pattern
20import qualified AST.Pattern as P
21import qualified Reporting.Annotation as A
31 | Def (Maybe String) Text
41parseEntry :: String -> Entry
47 case run (entryParser source) (Utf8.fromString rawEntry) of
55entryParser :: Text -> Parser Entry
60 name <- Var.moduleName
61 return (Import (Text.unpack name) source)
74 return (Type (Text.unpack name) source)
76 , do root <- Pattern.term
84 return (Def (Just (Text.unpack name)) source)
89 return (Def Nothing source)
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