tree-sitter-perga/test/corpus/labs.txt

45 lines
1.1 KiB
Text
Raw Normal View History

2024-11-20 19:29:09 -08:00
==================
Lambda Abstraction
==================
2024-12-10 21:40:39 -08:00
def foo := fun (A : ★) (x : A) : A => x;
2024-11-20 19:29:09 -08:00
----------
2024-12-10 21:40:39 -08:00
(program
(definition
(identifier)
(expr
(app_term
(labs
(param_block
(identifier)
(expr
(app_term
(binex
(app
(term
(sort
(star))))))))
(param_block
(identifier)
(expr
(app_term
(binex
(app
(term
(identifier)))))))
(ascription
(expr
(app_term
(binex
(app
(term
(identifier)))))))
(expr
(app_term
(binex
(app
(term
(identifier)))))))))))