[ fix ] typo in eqTree

This commit is contained in:
Guillaume ALLAIS 2020-08-26 11:18:27 +01:00 committed by G. Allais
parent a7ff5aa71f
commit 3a7b72f384

View File

@ -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