Created
August 10, 2018 17:20
-
-
Save brunoczim/6086d9eaf37ad69bae07472167267b00 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Stlc where | |
open import Agda.Builtin.String | |
data Type : Set where | |
σ : Type | |
τ : Type | |
_⟶_ : Type → Type → Type | |
data Var : (a : Type) → Set where | |
_∶_ : String → (a : Type) → Var a | |
data Expr : (a : Type) → Set where | |
var : {a : Type} → Var a → Expr a | |
app : {a b : Type} → Expr (a ⟶ b) → Expr a → Expr b | |
Λ_⟶_ : {a b : Type} → Var a → Expr b → Expr (a ⟶ b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment