mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
17 lines
194 B
Idris
17 lines
194 B
Idris
|
|
infix 5 -:-
|
|
|
|
infix 5 :-:
|
|
|
|
(-:-) : a -> List a -> List a
|
|
(-:-) = (::)
|
|
|
|
(:-:) : a -> List a -> List a
|
|
(:-:) = (::)
|
|
|
|
test : List Nat
|
|
test = 4 -:- 3 :-: []
|
|
|
|
test2 : List Nat
|
|
test2 = 4 :-: 3 -:- []
|