mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-03 00:55:00 +03:00
10 lines
97 B
Idris
10 lines
97 B
Idris
|
|
||
|
infix 5 -:-
|
||
|
|
||
|
(-:-) : a -> List a -> List a
|
||
|
(-:-) = (::)
|
||
|
|
||
|
test : List Nat
|
||
|
test = 4 -:- 3 -:- []
|
||
|
|