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