| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
SyntaxTrees.Purescript.FnDef
Documentation
data InfixFnDef Source #
Constructors
| InfixFnDef | |
Fields
| |
Instances
| Show InfixFnDef Source # | |
Defined in SyntaxTrees.Purescript.FnDef Methods showsPrec :: Int -> InfixFnDef -> ShowS # show :: InfixFnDef -> String # showList :: [InfixFnDef] -> ShowS # | |
data FnDefOrSig Source #
Instances
| Show FnDefOrSig Source # | |
Defined in SyntaxTrees.Purescript.FnDef Methods showsPrec :: Int -> FnDefOrSig -> ShowS # show :: FnDefOrSig -> String # showList :: [FnDefOrSig] -> ShowS # | |
Constructors
| FnApply | |
| InfixFnApply | |
| LeftOpSection | |
| RightOpSection | |
| LambdaExpr | |
| LetExpr | |
Fields
| |
| WhereExpr | |
Fields
| |
| IfExpr | |
| MultiWayIfExpr | |
Fields
| |
| DoExpr | |
| CaseOfExpr | |
Fields
| |
| LambdaCaseExpr | |
Fields
| |
| RecordCreate | |
Fields
| |
| RecordUpdate | |
Fields
| |
| TypeAnnotation FnBody Type | |
| ArrayRange FnBody FnBody | |
| Tuple [FnBody] | |
| Array [FnBody] | |
| FnOp' FnOp | |
| FnVar' FnVar | |
| Literal' Literal | |
Constructors
| DoBinding [Var] FnBody | |
| LetBinding [FnDefOrSig] | |
| Body FnBody |
data CaseBinding Source #
Constructors
| CaseBinding Pattern MaybeGuardedFnBody |
Instances
| Show CaseBinding Source # | |
Defined in SyntaxTrees.Purescript.FnDef Methods showsPrec :: Int -> CaseBinding -> ShowS # show :: CaseBinding -> String # showList :: [CaseBinding] -> ShowS # | |
data MaybeGuardedFnBody Source #
Constructors
| Guarded [GuardedFnBody] | |
| Standard FnBody |
data GuardedFnBody Source #
Constructors
| GuardedFnBody | |
Constructors
| Guard [PatternGuard] | |
| Otherwise |
data PatternGuard Source #
Constructors
| PatternGuard Pattern FnBody | |
| SimpleGuard FnBody |
Instances
| Show PatternGuard Source # | |
Defined in SyntaxTrees.Purescript.FnDef Methods showsPrec :: Int -> PatternGuard -> ShowS # show :: PatternGuard -> String # showList :: [PatternGuard] -> ShowS # | |
data Associativity Source #
Instances
| Show Associativity Source # | |
Defined in SyntaxTrees.Purescript.FnDef Methods showsPrec :: Int -> Associativity -> ShowS # show :: Associativity -> String # showList :: [Associativity] -> ShowS # | |
showGuardedFnBody :: String -> GuardedFnBody -> String Source #
showNestedFnBody :: FnBody -> String Source #
showNestedInfixFnBody :: FnBody -> String Source #