Safe Haskell | None |
---|---|
Language | Haskell2010 |
Representation of Haskell statements (both do-notation and comprehensions)
- data Stmt' expr dom stage
- type Stmt = Stmt' Expr
- data ListCompBody dom stage = ListCompBody {
- _compStmts :: AnnList CompStmt dom stage
- data CompStmt dom stage
Documentation
data Stmt' expr dom stage Source #
Normal monadic statements
BindStmt | Binding statement ( |
| |
ExprStmt | Non-binding statement ( |
LetStmt | Let statement ( |
| |
RecStmt | A recursive binding statement with ( |
|
data ListCompBody dom stage Source #
Body of a list comprehension: ( | x <- [1..10]
)
ListCompBody | |
|
type Rep (ListCompBody dom stage) Source # | |
data CompStmt dom stage Source #
List comprehension statement