From 71bbcc379f5cda85895de25a95ebb2a32a6d46f9 Mon Sep 17 00:00:00 2001 From: Jesper Cockx Date: Tue, 19 Dec 2023 13:56:59 +0100 Subject: [PATCH] Add `inline` to COMPILE pragma of Dec for forward compatibility with #254 --- lib/Haskell/Extra/Dec.agda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Haskell/Extra/Dec.agda b/lib/Haskell/Extra/Dec.agda index 311ed132..32fc3df7 100644 --- a/lib/Haskell/Extra/Dec.agda +++ b/lib/Haskell/Extra/Dec.agda @@ -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)