Expression.dcl 375 Bytes
Newer Older
1
definition module Clean.PrettyPrint.Expression
Camil Staps's avatar
Camil Staps committed
2

3
from syntax import :: ParsedExpr, :: Rhs, :: OptGuardedAlts, :: FunKind
Camil Staps's avatar
Camil Staps committed
4

5 6
from Clean.PrettyPrint.Util import class print

7
instance print ParsedExpr, Rhs, FunKind
Camil Staps's avatar
Camil Staps committed
8

Camil Staps's avatar
Camil Staps committed
9
/**
Camil Staps's avatar
Camil Staps committed
10 11
 * `True` iff the right-hand side is a {{`GuardedAlts`}} or {{`UnguardedExpr`}}
 * with at least one {{`ewl_node`}}.
Camil Staps's avatar
Camil Staps committed
12
 */
13
compound_rhs :: !OptGuardedAlts -> Bool