mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 05:20:38 +00:00
5187e64f88
* First cut interpreter
9 lines
247 B
Agda
9 lines
247 B
Agda
module Properties.Remember where
|
|
|
|
open import Agda.Builtin.Equality using (_≡_; refl)
|
|
|
|
data Remember {A : Set} (a : A) : Set where
|
|
_,_ : ∀ b → (a ≡ b) → Remember(a)
|
|
|
|
remember : ∀ {A} (a : A) → Remember(a)
|
|
remember a = (a , refl)
|