1{-# OPTIONS_GHC -Wall #-}
2module AST.Expression.Optimized
3 ( Def(..), Facts(..), dummyFacts
5 , Decider(..), Choice(..)
8import qualified AST.Expression.General as Expr
9import qualified AST.Literal as Literal
10import qualified AST.Module.Name as ModuleName
11import qualified AST.Type as Type
12import qualified AST.Variable as Var
13import qualified Optimize.DecisionTree as DT
14import qualified Reporting.Region as R
21 = Def Facts String Expr
22 | TailDef Facts String [String] Expr
26 { home :: Maybe ModuleName.Canonical
38 = Literal Literal.Literal
41 | Binop Var.Canonical Expr Expr
42 | Function [String] Expr
44 | TailCall String [String] [Expr]
45 | If [(Expr, Expr)] Expr
47 | Case String (Decider Choice) [(Int, Expr)]
51 | Update Expr [(String, Expr)]
52 | Record [(String, Expr)]
53 | Cmd ModuleName.Canonical
54 | Sub ModuleName.Canonical
55 | OutgoingPort String Type.Canonical
56 | IncomingPort String Type.Canonical
57 | Program (Expr.Main Type.Canonical) Expr
58 | GLShader String String Literal.GLShaderTipe
59 | Crash ModuleName.Canonical R.Region (Maybe Expr)
65 { _testChain :: [(DT.Path, DT.Test)]
66 , _success :: Decider a
67 , _failure :: Decider a
71 , _tests :: [(DT.Test, Decider a)]
72 , _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