mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
add back export lost in merge
This commit is contained in:
parent
647c38b2fa
commit
ef89e2930b
@ -59,6 +59,7 @@ mutual
|
|||||||
measureAlts (ConstCase x y) = 1 + (measure y)
|
measureAlts (ConstCase x y) = 1 + (measure y)
|
||||||
measureAlts (DefaultCase x) = 1 + (measure x)
|
measureAlts (DefaultCase x) = 1 + (measure x)
|
||||||
|
|
||||||
|
export
|
||||||
isDefault : CaseAlt vars -> Bool
|
isDefault : CaseAlt vars -> Bool
|
||||||
isDefault (DefaultCase _) = True
|
isDefault (DefaultCase _) = True
|
||||||
isDefault _ = False
|
isDefault _ = False
|
||||||
|
Loading…
Reference in New Issue
Block a user