1{-# OPTIONS_GHC -Wall #-}
2module AST.Expression.Optimized
4 , Expr(..), Jump(..), Branch(..)
7import qualified AST.Expression.General as General
8import qualified AST.Literal as Literal
9import qualified AST.Module.Name as ModuleName
10import qualified AST.Type as Type
11import qualified AST.Variable as Var
12import qualified Optimize.Patterns.DecisionTree as DT
13import qualified Reporting.Region as R
20 = Def Facts String Expr
21 | TailDef Facts String [String] Expr
25 { home :: Maybe ModuleName.Canonical
26 , dependencies :: [Var.TopLevel]
33 = Literal Literal.Literal
37 | Binop Var.Canonical Expr Expr
38 | Function [String] Expr
40 | TailCall String [String] [Expr]
41 | If [(Expr, Expr)] Expr
43 | Case Expr (DT.DecisionTree Jump) [(Int, Branch)]
47 | Update Expr [(String, Expr)]
48 | Record [(String, Expr)]
49 | Port (General.PortImpl Expr Type.Canonical)
50 | GLShader String String Literal.GLShaderTipe
51 | Crash R.Region (Maybe String)
60 { _substitutions :: [(String, DT.Path)]
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