luau/prototyping/Properties/Remember.agda
Alan Jeffrey 5187e64f88
Implement a prototype interpreter (#353)
* First cut interpreter
2022-02-09 17:14:29 -06:00

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)