18 Oct
2004
18 Oct
'04
7:43 a.m.
Hi, is there any possibility of defining Infix-/Postfixoperators in Haskell? Example: Plus :: Int, Int -> Int Plus x y = x + y an now I´m want to use Plus in another function as an infix: Times2:: x = x Plus x Is this possible anyway? If this feature doesnt exist, could you please give some reasons for this? with kind regards, Peter Theissen