Idris2/tests/idris2/operators/operators004/Test.idr

10 lines
97 B
Idris
Raw Normal View History

infix 5 -:-
(-:-) : a -> List a -> List a
(-:-) = (::)
test : List Nat
test = 4 -:- 3 -:- []