Skip to content

Commit

Permalink
TraverseNames for EPropGuards
Browse files Browse the repository at this point in the history
  • Loading branch information
yav committed Sep 28, 2022
1 parent 6fea305 commit bed32f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Cryptol/IR/TraverseNames.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ instance TraverseNames Expr where
EProofApp e -> EProofApp <$> traverseNamesIP e
EWhere e ds -> EWhere <$> traverseNamesIP e <*> traverseNamesIP ds

EPropGuards gs t -> EPropGuards <$> traverse doG gs <*> traverseNamesIP t
where doG (xs, e) = (,) <$> traverseNamesIP xs <*> traverseNamesIP e

instance TraverseNames Match where
traverseNamesIP mat =
case mat of
Expand Down

0 comments on commit bed32f8

Please sign in to comment.