Created
August 17, 2012 08:03
-
-
Save gergoerdi/3376887 to your computer and use it in GitHub Desktop.
Untyped lambda-calculus
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 Lambda where | |
open import Data.Nat | |
open import Data.Fin | |
data Exp : ℕ → Set where | |
Var : {n : ℕ} → Fin n → Exp n | |
Lam : {n : ℕ} → Exp (suc n) → Exp n | |
_·_ : {n m : ℕ} → Exp n → Exp m → Exp (n ⊓ m) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment