1{-# OPTIONS_GHC -Wall #-}
3 ( Expr, Expr_(..), VarType(..)
6 , Pattern, Pattern_(..)
21import qualified Data.ByteString as B
22import Data.Name (Name)
23import Data.Text (Text)
24import Data.Utf8 (Utf8)
26import qualified AST.Utils.Binop as Binop
27import qualified AST.Utils.Shader as Shader
28import qualified Reporting.Annotation as A
29import qualified Reporting.Region as R
36type Expr = A.Located Expr_
45 | VarQual VarType Name Name
49 | Binops [(Expr, A.Located Name)] Expr
50 | Lambda [Pattern] Expr
52 | If [(Expr, Expr)] Expr
53 | Let [A.Located Def] Expr
54 | Case Expr [(Pattern, Expr)]
56 | Access Expr (A.Located Name)
57 | Update (A.Located Name) [(A.Located Name, Expr)]
58 | Record [(A.Located Name, Expr)]
60 | Tuple Expr Expr [Expr]
61 | Shader Text Text Shader.Shader
64data VarType = Value | Ctor
73 | Define (A.Located Name) [Pattern] Expr
74 | Destruct Pattern Expr
81type Pattern = A.Located Pattern_
87 | PRecord [A.Located Name]
88 | PAlias Pattern (A.Located Name)
90 | PTuple Pattern Pattern [Pattern]
91 | PCtor R.Region Name [Pattern]
92 | PCtorQual R.Region Name Name [Pattern]
94 | PCons Pattern Pattern
111 | TType R.Region Name [Type]
112 | TTypeQual R.Region Name Name [Type]
113 | TRecord [(A.Located Name, Type)] (Maybe (A.Located Name))
115 | TTuple Type Type [Type]
122type Decl = A.Located Decl_
126 = Union (A.Located Name) [A.Located Name] [(A.Located Name, [Type])]
127 | Alias (A.Located Name) [A.Located Name] Type
128 | Binop Name Binop.Associativity Binop.Precedence Name
129 | Port (A.Located Name) Type
131 | Annotation (A.Located Name) Type
132 | Definition (A.Located Name) [Pattern] Expr
140 Module (Maybe Header) [Import] decls
146 , _effects :: Effects
147 , _exports :: A.Located Exposing
154 { _import :: A.Located Name
155 , _alias :: Maybe Name
156 , _exposing :: Exposing
162 | YesDocs R.Region B.ByteString
168 | Manager R.Region Manager
172 = Cmd (A.Located Name)
173 | Sub (A.Located Name)
174 | Fx (A.Located Name) (A.Located Name)
183 | Explicit ![A.Located Exposed]
188 | Upper !Name !Privacy
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