Safe Haskell | Safe-Inferred |
---|
Simple predicates on core expressions.
Atoms
Lambdas
isXLam :: Exp a n -> BoolSource
Check whether an expression is a value or witness abstraction (level-0).
isLambdaX :: Exp a n -> BoolSource
Check whether an expression is a spec, value, or witness abstraction.
Applications
Patterns
isPDefault :: Pat n -> BoolSource
Check whether an alternative is a PDefault
.