| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
SyntaxTrees.Haskell.FnDef
Documentation
data InfixFnAnnotation Source #
Constructors
| InfixFnAnnotation | |
Fields
| |
Instances
| Show InfixFnAnnotation Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> InfixFnAnnotation -> ShowS # show :: InfixFnAnnotation -> String # showList :: [InfixFnAnnotation] -> ShowS # | |
data FnDefOrSig Source #
Instances
| Show FnDefOrSig Source # | |
Defined in SyntaxTrees.Haskell.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 | |
| ListRange FnBody (Maybe FnBody) | |
| Tuple [FnBody] | |
| List [FnBody] | |
| FnVar' FnVar | |
| FnOp' FnOp | |
| Literal' Literal | |
Constructors
| DoBinding [Var] FnBody | |
| LetBinding [FnDefOrSig] | |
| Body FnBody |
data CaseBinding Source #
Constructors
| CaseBinding Pattern MaybeGuardedFnBody |
Instances
| Show CaseBinding Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> CaseBinding -> ShowS # show :: CaseBinding -> String # showList :: [CaseBinding] -> ShowS # | |
data MaybeGuardedFnBody Source #
Constructors
| Guarded [GuardedFnBody] | |
| Standard FnBody |
Instances
| Show MaybeGuardedFnBody Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> MaybeGuardedFnBody -> ShowS # show :: MaybeGuardedFnBody -> String # showList :: [MaybeGuardedFnBody] -> ShowS # | |
data GuardedFnBody Source #
Constructors
| GuardedFnBody | |
Instances
| Show GuardedFnBody Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> GuardedFnBody -> ShowS # show :: GuardedFnBody -> String # showList :: [GuardedFnBody] -> ShowS # | |
Constructors
| Guard [PatternGuard] | |
| Otherwise |
data PatternGuard Source #
Constructors
| PatternGuard Pattern FnBody | |
| SimpleGuard FnBody |
Instances
| Show PatternGuard Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> PatternGuard -> ShowS # show :: PatternGuard -> String # showList :: [PatternGuard] -> ShowS # | |
data Associativity Source #
Instances
| Show Associativity Source # | |
Defined in SyntaxTrees.Haskell.FnDef Methods showsPrec :: Int -> Associativity -> ShowS # show :: Associativity -> String # showList :: [Associativity] -> ShowS # | |