mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Got examples to typecheck again
This commit is contained in:
parent
8573eeda49
commit
781dbfa2b4
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
module Examples.OpSem where
|
||||
|
||||
open import Luau.OpSem using (_⊢_⟶ᴱ_⊣_; _⊢_⟶ᴮ_⊣_; subst)
|
||||
open import Luau.Syntax using (var; nil; local_←_; _∙_; done; return; block_end)
|
||||
open import Luau.Syntax using (var; nil; local_←_; _∙_; done; return)
|
||||
open import Luau.Heap using (emp)
|
||||
|
||||
x = var "x"
|
||||
|
|
|
@ -14,5 +14,5 @@ import Agda.Builtin.Equality.Rewrite
|
|||
x = var "x"
|
||||
id = var "id"
|
||||
|
||||
ex1 : (run emp (function "id" ⟨ "x" ⟩ return x ∙ done end ∙ return (id $ nil) ∙ done) ≡ return nil _)
|
||||
ex1 : (run (function "id" ⟨ "x" ⟩ return x ∙ done end ∙ return (id $ nil) ∙ done) ≡ return nil _)
|
||||
ex1 = refl
|
||||
|
|
Loading…
Add table
Reference in a new issue