35 lines
662 B
Text
35 lines
662 B
Text
|
|
==================
|
||
|
|
Lambda Abstraction
|
||
|
|
==================
|
||
|
|
|
||
|
|
foo := fun (A : *) (x : A) => x;
|
||
|
|
|
||
|
|
----------
|
||
|
|
|
||
|
|
(program
|
||
|
|
(definition
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(labs
|
||
|
|
(lambda)
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(star))))))
|
||
|
|
(param_block
|
||
|
|
(identifier)
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier))))))
|
||
|
|
(expr
|
||
|
|
(app_term
|
||
|
|
(app
|
||
|
|
(term
|
||
|
|
(identifier))))))))))
|