tree-sitter-perga/test/corpus/labs.txt
2024-12-10 21:40:39 -08:00

44 lines
1.1 KiB
Text

==================
Lambda Abstraction
==================
def foo := fun (A : ★) (x : A) : A => x;
----------
(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)))))))))))