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

56 lines
1,021 B
Text
Raw Normal View History

2024-11-20 19:29:09 -08:00
======
Arrows
======
def foo (A B : *) (f : A -> A -> B) (x : A) := f x x;
2024-11-20 19:29:09 -08:00
---
(program
2024-11-20 21:46:51 -08:00
(definition
(identifier)
(param_block
2024-11-21 13:14:46 -08:00
(identifier)
(identifier)
(expr
(app_term
(app
(term
2024-12-01 23:36:32 -08:00
(sort
(star)))))))
2024-11-21 13:14:46 -08:00
(param_block
(identifier)
(expr
(arrow
2024-11-20 21:46:51 -08:00
(app_term
(app
(term
2024-11-21 13:14:46 -08:00
(identifier))))
(expr
(arrow
(app_term
(app
(term
(identifier))))
(expr
2024-11-20 21:46:51 -08:00
(app_term
(app
(term
2024-11-21 13:14:46 -08:00
(identifier))))))))))
2024-11-20 21:46:51 -08:00
(param_block
2024-11-21 13:14:46 -08:00
(identifier)
(expr
(app_term
(app
(term
(identifier))))))
2024-11-20 21:46:51 -08:00
(expr
(app_term
(app
(term
(identifier))
(term
(identifier))
(term
(identifier)))))))