| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Agda.TypeChecking.Patterns.Abstract
Description
Tools to manipulate patterns in abstract syntax in the TCM (type checking monad).
Synopsis
- expandLitPattern :: Pattern -> TCM Pattern
- expandPatternSynonyms' :: forall e. Pattern' e -> TCM (Pattern' e)
- class ExpandPatternSynonyms a where
Documentation
expandLitPattern :: Pattern -> TCM Pattern #
Expand literal integer pattern into suc/zero constructor patterns.
expandPatternSynonyms' :: forall e. Pattern' e -> TCM (Pattern' e) #
Expand away (deeply) all pattern synonyms in a pattern.
class ExpandPatternSynonyms a where #
Methods
expandPatternSynonyms :: a -> TCM a #
expandPatternSynonyms :: (Traversable f, ExpandPatternSynonyms b, f b ~ a) => a -> TCM a #