Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Simple predicates on core expressions.
- module DDC.Type.Predicates
- isXVar :: GExp l -> Bool
- isXCon :: GExp l -> Bool
- isAtomX :: GExp l -> Bool
- isAtomR :: GArg l -> Bool
- isAtomW :: GWitness l -> Bool
- isXAbs :: GExp l -> Bool
- isXLAM :: GExp l -> Bool
- isXLam :: GExp l -> Bool
- isXApp :: GExp l -> Bool
- isXLet :: GExp l -> Bool
- isPDefault :: GPat l -> Bool
Documentation
module DDC.Type.Predicates
Atoms
Abstractions
isXLam :: GExp l -> Bool Source
Check whether an expression is a value or witness abstraction (level-0).
Applications
Let bindings
Patterns
isPDefault :: GPat l -> Bool Source
Check whether an alternative is a PDefault
.