File: lambda6.elpi

package info (click to toggle)
elpi 2.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 50,296 kB
  • sloc: ml: 18,791; makefile: 229; python: 95; sh: 7
file content (7 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
% Test for the correct parsing of binders with types
% Similar to test lambda5 but with type_checking error
% using the as constructor

main :-
  _ = (x : bool\ x as Y),
  _ = Y 1. % Here type error