Skip to content

Commit

Permalink
Add inline to COMPILE pragma of Dec for forward compatibility with #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jespercockx committed Dec 20, 2023
1 parent 64da013 commit 6bf9767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Haskell/Extra/Dec.agda
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Reflects P False = P → ⊥

Dec : {ℓ} @0 Set Set
Dec P = ∃ Bool (Reflects P)
{-# COMPILE AGDA2HS Dec #-}
{-# COMPILE AGDA2HS Dec inline #-}

mapDec : @0 (a b)
@0 (b a)
Expand Down

0 comments on commit 6bf9767

Please sign in to comment.