mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
75032a7164
* Emit warning for fixities with no export modifiers This is to help update all the existing code to program with explicit fixity export directives in preparation for the behavioral change where they will become private by default.
17 lines
210 B
Idris
17 lines
210 B
Idris
|
|
private infix 5 -:-
|
|
|
|
private infix 5 :-:
|
|
|
|
(-:-) : a -> List a -> List a
|
|
(-:-) = (::)
|
|
|
|
(:-:) : a -> List a -> List a
|
|
(:-:) = (::)
|
|
|
|
test : List Nat
|
|
test = 4 -:- 3 :-: []
|
|
|
|
test2 : List Nat
|
|
test2 = 4 :-: 3 -:- []
|