Go backward to
Example
Go up to
Top
Go forward to
Example
Lambda Abstraction Introduction
Parameterization principle:
E ::= ...|
lambda
I:
theta
. E | E
1
E
2
| I
pi
-U- {I:
theta
1
} |- E:
theta
2
pi
|-
lambda
I:
theta
1
. E:
theta
1
->
theta
2
pi
|- E
1
:
theta
1
->
theta
2
pi
|- E
2
:
theta
1
pi
|- E
1
E
2
:
theta
2
pi
|- I:
theta
if (I:
theta
) in
pi
Lambda abstraction
lambda
I
2
:
theta
. E
Abstraction invocation E
1
E
2
Parameter reference
I
.
Correspondence principle
Semantics of definition binding and semantics of parameter binding is the same.
Enrichement of type system
New attribute
theta
1
->
theta
2
Author:
Wolfgang Schreiner
Last Modification: May 14, 1998