Skip to content

Commit

Permalink
try without inline and add opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
EwenBC committed Dec 19, 2024
1 parent 60d63e8 commit 1ad643f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Scope/In.agda
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data IsNth (@0 x : name) : @0 Scope name → Nat → Set where

inScope : @0 name @0 Scope name Set
inScope x α = ∃ Nat (λ n IsNth x α n)
{-# COMPILE AGDA2HS inScope inline #-}
{-# COMPILE AGDA2HS inScope #-}

syntax inScope x α = x ∈ α

Expand Down Expand Up @@ -103,6 +103,7 @@ opaque
inJoinCase r = inSplitCase (splitRefl r)
{-# COMPILE AGDA2HS inJoinCase #-}

opaque
inBindCase : x ∈ (y ◃ α) (@0 x ≡ y a) (x ∈ α a) a
inBindCase {y = y} p f g = inJoinCase (rezz [ y ]) p (λ q (inSingCase q f)) g
{-# COMPILE AGDA2HS inBindCase #-}
Expand Down

0 comments on commit 1ad643f

Please sign in to comment.