2024-11-20 19:29:09 -08:00
|
|
|
==================
|
|
|
|
|
Lambda Abstraction
|
|
|
|
|
==================
|
|
|
|
|
|
|
|
|
|
foo := fun (A : *) (x : A) => x;
|
|
|
|
|
|
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
(program
|
|
|
|
|
(definition
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(labs
|
|
|
|
|
(lambda)
|
|
|
|
|
(param_block
|
2024-11-20 21:46:51 -08:00
|
|
|
(param
|
|
|
|
|
(identifier))
|
|
|
|
|
(type
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(star)))))))
|
2024-11-20 19:29:09 -08:00
|
|
|
(param_block
|
2024-11-20 21:46:51 -08:00
|
|
|
(param
|
|
|
|
|
(identifier))
|
|
|
|
|
(type
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
2024-11-20 19:29:09 -08:00
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier))))))))))
|