| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Elm.Expression
Description
Used to declare expressions
Documentation
The expression type
Constructors
| App String [Expr] | Function application |
| Case Expr [(Expr, Expr)] | |
| Let Expr [(Expr, Expr)] | |
| List [Expr] | |
| Tuple2 Expr Expr | |
| Tuple3 Expr Expr Expr | |
| Op String Expr Expr | Inline operators |
| Parens Expr | Expressions wrapped in parens |
| Str String | String literals |
| Int Int | Integer literals |
| Under | The underscore placeholder |
| BoolTrue | Boolean false literal |
| BoolFalse | Boolean true literal |
| Record (Maybe Expr) [(String, Expr)] | Record creation and update syntax |