Safe Haskell | None |
---|
Documentation
class ConvertibleToTTree a whereSource
ConvertibleToTTree [LStmt Name] | |
ConvertibleToTTree (LHsExpr Name) | |
ConvertibleToTTree (HsLocalBinds Name) | HsLocalBinds is for example use for where clauses TODO is this still needed? |
ConvertibleToTTree (GRHSs Name, LambdaNotationStyle) | |
ConvertibleToTTree (LHsBindLR Name Name) | |
ConvertibleToTTree (HsValBindsLR Name Name) | |
ConvertibleToTTree ([LPat Name], GRHSs Name, LambdaNotationStyle) | |
ConvertibleToTTree (LambdaNotationStyle, LGRHS Name, Maybe (HsValBindsLR Name Name)) |
onDifferentLines :: RealSrcSpan -> RealSrcSpan -> BoolSource
data LambdaNotationStyle Source
FunShortNotation | may convert a where-expression to a let-expression |
FunLongNotation | |
Val2InlWithCase | Value bindings with guards or where expressions are replaced by a case expression case () of () |... which reflects these guards |
Val2InlShort | Value bindings without guards and where expression are replaced by their left hand side surrounded by brackets. |
ConvertibleToTTree (GRHSs Name, LambdaNotationStyle) | |
ConvertibleToTTree ([LPat Name], GRHSs Name, LambdaNotationStyle) | |
ConvertibleToTTree (LambdaNotationStyle, LGRHS Name, Maybe (HsValBindsLR Name Name)) |