Skip to content
Permalink
blog
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (11 sloc) 274 Bytes
module STLC.Syntax (Type : Set) where
open import Data.String
Name : Set
Name = String
data Formal : Set where
_∶_ : Name → Type → Formal
data Expr : Set where
var : Name → Expr
lam : Formal → Expr → Expr
_·_ : Expr → Expr → Expr
infixl 20 _·_