1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-06 06:53:33 +03:00
juvix/tests/positive/Symbols.juvix
mariari d7ad6915d2
Widens the accepted symbol list (#1385)
* Changed the valid symbols from inclusvie to exclusive

* Add test using the new valid symbols
2022-07-18 13:32:43 +02:00

31 lines
496 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 Symbols;
open import Stdlib.Data.Nat;
╘⑽╛ : ;
╘⑽╛ ≔ suc nine;
-- no - function!?
- : -> -> ;
- ≔ (+);
- : -> -> ;
- ≔ (-);
* : -> -> ;
* ≔ (*);
infixl 6 ;
: -> -> ;
-;
infixl 7 ·;
· : -> -> ;
· ≔ *;
0 : ;
0 ≔ ╘⑽╛ ╘⑽╛ · zero;
主功能 : ;
主功能 ≔ 0;
end;