1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-01 00:04:58 +03:00
juvix/tests/negative/InfixErrorP.juvix
Łukasz Czajka 6bfe727a0e
Add syntax keyword (#2107)
* Closes #2007
2023-05-22 12:50:07 +02:00

12 lines
138 B
Plaintext

module InfixErrorP;
syntax infix 5 , ;
type Pair :=
, : Type → Type → Pair;
fst : Pair → Type;
fst (x , ) := x;
end;