| Safe Haskell | None |
|---|
Idris.Core.CaseTree
Documentation
Constructors
| Case CaseType Name [CaseAlt' t] | invariant: lowest tags first |
| ProjCase t [CaseAlt' t] | special case for projections/thunk-forcing before inspection |
| STerm !t | |
| UnmatchedCase String | error message |
| ImpossibleCase | already checked to be impossible |
type ErasureInfo = Name -> [Int]Source
simpleCase :: Bool -> Bool -> Bool -> Phase -> FC -> [Int] -> [Type] -> [([Name], Term, Term)] -> ErasureInfo -> TC CaseDefSource
findUsedArgs :: SC -> [Name] -> [Name]Source