1{-# OPTIONS_GHC -Wall #-}
2module AST.Expression.Optimized
3 ( Def(..), Facts(..), dummyFacts
5 , Decider(..), Choice(..)
10import qualified AST.Expression.Canonical as Can
11import qualified AST.Literal as Literal
12import qualified AST.Module.Name as ModuleName
13import qualified AST.Type as Type
14import qualified AST.Variable as Var
15import qualified Optimize.DecisionTree as DT
16import qualified Reporting.Region as R
24 | TailDef Facts Text [Text] Expr
28 { home :: Maybe ModuleName.Canonical
40 = Literal Literal.Literal
43 | Binop Var.Canonical Expr Expr
44 | Function [Text] Expr
46 | TailCall Text [Text] [Expr]
47 | If [(Expr, Expr)] Expr
49 | Case Text (Decider Choice) [(Int, Expr)]
53 | Update Expr [(Text, Expr)]
54 | Record [(Text, Expr)]
55 | Cmd ModuleName.Canonical
56 | Sub ModuleName.Canonical
57 | OutgoingPort Text Type.Canonical
58 | IncomingPort Text Type.Canonical
59 | Program Can.Main Expr
60 | GLShader Text Text Literal.GLShaderTipe
61 | Crash ModuleName.Canonical R.Region (Maybe Expr)
67 { _testChain :: [(DT.Path, DT.Test)]
68 , _success :: Decider a
69 , _failure :: Decider a
73 , _tests :: [(DT.Test, Decider a)]
74 , _fallback :: Decider a
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