Skip to content

Commit

Permalink
fix term docs to match names
Browse files Browse the repository at this point in the history
  • Loading branch information
philandstuff committed Feb 14, 2020
1 parent 726a652 commit 661320a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions term/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,28 +126,28 @@ type LocalVar struct {
func (LocalVar) isTerm() {}

type (
// A LambdaTerm is a lambda abstraction.
// A Lambda is a lambda abstraction.
Lambda struct {
Label string
Type Term
Body Term
}

// A PiTerm is a function type.
// A Pi is a function type.
Pi struct {
Label string
Type Term
Body Term
}

// An AppTerm is a Term formed by applying a function to an
// An App is a Term formed by applying a function to an
// argument.
App struct {
Fn Term
Arg Term
}

// An OpTerm is two Terms combined by an operator. The OpCode
// An Op is two Terms combined by an operator. The OpCode
// determines the type of operator.
Op struct {
OpCode OpCode
Expand Down

0 comments on commit 661320a

Please sign in to comment.