mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 16:21:46 +03:00
[ fix ] typo in eqTree
This commit is contained in:
parent
a7ff5aa71f
commit
3a7b72f384
@ -82,8 +82,8 @@ mutual
|
|||||||
export
|
export
|
||||||
eqTree : CaseTree vs -> CaseTree vs' -> Bool
|
eqTree : CaseTree vs -> CaseTree vs' -> Bool
|
||||||
eqTree (Case i _ _ alts) (Case i' _ _ alts')
|
eqTree (Case i _ _ alts) (Case i' _ _ alts')
|
||||||
= i == i
|
= i == i'
|
||||||
&& length alts == length alts
|
&& length alts == length alts'
|
||||||
&& allTrue (zipWith eqAlt alts alts')
|
&& allTrue (zipWith eqAlt alts alts')
|
||||||
eqTree (STerm _ t) (STerm _ t') = eqTerm t t'
|
eqTree (STerm _ t) (STerm _ t') = eqTerm t t'
|
||||||
eqTree (Unmatched _) (Unmatched _) = True
|
eqTree (Unmatched _) (Unmatched _) = True
|
||||||
|
Loading…
Reference in New Issue
Block a user