Safe Haskell | None |
---|
Tools to manipulate patterns in abstract syntax in the TCM (type checking monad).
- expandLitPattern :: NamedArg Pattern -> TCM (NamedArg Pattern)
- class ExpandPatternSynonyms a where
- expandPatternSynonyms :: a -> TCM a
Documentation
expandLitPattern :: NamedArg Pattern -> TCM (NamedArg Pattern)Source
Expand literal integer pattern into suc/zero constructor patterns.
class ExpandPatternSynonyms a whereSource
Expand away (deeply) all pattern synonyms in a pattern.
expandPatternSynonyms :: a -> TCM aSource