| Safe Haskell | None |
|---|
Agda.TypeChecking.Rules.LHS.ProblemRest
- useNamesFromPattern :: [NamedArg Pattern] -> Telescope -> Telescope
- noProblemRest :: Problem -> Bool
- typeFromProblem :: Problem -> Type
- problemFromPats :: [NamedArg Pattern] -> Type -> TCM Problem
- updateProblemRest_ :: Problem -> TCM (Nat, Problem)
- updateProblemRest :: LHSState -> TCM LHSState
Documentation
useNamesFromPattern :: [NamedArg Pattern] -> Telescope -> TelescopeSource
Rename the variables in a telescope using the names from a given pattern
noProblemRest :: Problem -> BoolSource
Are there any untyped user patterns left?
typeFromProblem :: Problem -> TypeSource
Get the type of clause. Only valid if noProblemRest.
Arguments
| :: [NamedArg Pattern] | The user patterns. |
| -> Type | The type the user patterns eliminate. |
| -> TCM Problem | The initial problem constructed from the user patterns. |
Construct an initial split Problem from user patterns.