| Safe Haskell | None |
|---|
Language.Haskell.HBB.Internal.InternalTTreeCreation
Documentation
data ConversionInfo Source
Constructors
| ProduceLambda | |
| ProduceEqual |
class ConvertibleToTTree a whereSource
Methods
Instances
| ConvertibleToTTree [LStmt Name] | |
| ConvertibleToTTree (LHsExpr Name) | |
| ConvertibleToTTree (HsLocalBinds Name) | HsLocalBinds is for example use for where clauses TODO is this still needed? |
| ConvertibleToTTree (LHsBindLR Name Name) | |
| ConvertibleToTTree (HsValBindsLR Name Name) | |
| ConvertibleToTTree ([LPat Name], GRHSs Name, LambdaNotationStyle) | |
| ConvertibleToTTree (IsValueBinding, LGRHS Name, Maybe (HsValBindsLR Name Name)) | |
| ConvertibleToTTree (IsValueBinding, GRHSs Name, LambdaNotationStyle) |
onDifferentLines :: RealSrcSpan -> RealSrcSpan -> BoolSource
type IsValueBinding = BoolSource
data LambdaNotationStyle Source
Constructors
| ShortNotationStyle | may convert a where-expression to a let-expression |
| LongNotationWithWhere |
Instances
| ConvertibleToTTree ([LPat Name], GRHSs Name, LambdaNotationStyle) | |
| ConvertibleToTTree (IsValueBinding, GRHSs Name, LambdaNotationStyle) |