Skip to content

Commit

Permalink
ScopedSnocList: WIP: aligned with Yaffle the following: Context.
Browse files Browse the repository at this point in the history
  • Loading branch information
GulinSS committed Oct 1, 2024
1 parent d7b8fb2 commit a14a3bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Core/Context.idr
Original file line number Diff line number Diff line change
Expand Up @@ -556,13 +556,13 @@ mutual

export
HasNames (Env Term vars) where
full gam [] = pure []
full gam (b :: bs)
= pure $ !(traverse (full gam) b) :: !(full gam bs)
full gam [<] = pure [<]
full gam (bs :< b)
= pure $ !(full gam bs) :< !(traverse (full gam) b)

resolved gam [] = pure []
resolved gam (b :: bs)
= pure $ !(traverse (resolved gam) b) :: !(resolved gam bs)
resolved gam [<] = pure [<]
resolved gam (bs :< b)
= pure $ !(resolved gam bs) :< !(traverse (resolved gam) b)

export
HasNames Clause where
Expand Down

0 comments on commit a14a3bf

Please sign in to comment.