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