File: lambda5.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 (8 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
% Test for the correct parsing of binders with types
% Similar to test lambda4 but with type_checking error
% since the lambda term is applied to a term with 
% an unexpected type

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