2024-11-23 10:06:53 -08:00
|
|
|
===
|
|
|
|
|
Let
|
|
|
|
|
===
|
|
|
|
|
|
2024-12-01 20:53:58 -08:00
|
|
|
def foo :=
|
|
|
|
|
let (x : bar := a)
|
|
|
|
|
(y := x)
|
|
|
|
|
(f (x : A) := x)
|
|
|
|
|
in
|
|
|
|
|
x
|
|
|
|
|
end;
|
2024-11-23 10:06:53 -08:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2024-12-10 21:40:39 -08:00
|
|
|
(program
|
|
|
|
|
(definition
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(let
|
|
|
|
|
(binding
|
|
|
|
|
(identifier)
|
|
|
|
|
(ascription
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
|
|
|
|
(binding
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
|
|
|
|
(binding
|
|
|
|
|
(identifier)
|
|
|
|
|
(param_block
|
|
|
|
|
(identifier)
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
|
|
|
|
(expr
|
|
|
|
|
(app_term
|
|
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))
|
2024-12-01 20:53:58 -08:00
|
|
|
(expr
|
|
|
|
|
(app_term
|
2024-12-10 21:40:39 -08:00
|
|
|
(binex
|
|
|
|
|
(app
|
|
|
|
|
(term
|
|
|
|
|
(identifier)))))))))))
|