1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/tests/positive/issue1466/M.juvix
janmasrovira 57da75b1a5
Properly type check patterns that need normalization (#1472)
properly type check patterns that need normalization
2022-08-21 12:16:26 +02:00

20 lines
193 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module M;
inductive {
z : ;
s : ;
};
nat : Type;
nat := ;
nat2 : Type;
nat2 := nat;
infixl 1 +;
+ : nat2 → nat → nat;
+ z b := b;
+ (s a) b := s (a + b);
end;