On Tue, Mar 12, 2013 at 1:52 PM, Carlos Camarao <carlos.camarao@gmail.com> wrote:Sorry, I think my sentence:"To define (+) as an overloaded operator in Haskell,is not quite correct. I meant that to define any operator in Haskell you have to
you have to define and use a type class."
have a type class defined with that operator as member.
What? An operator is just an infix function, taken from the set of symbols. Any function can be an operator (and is, via `func` syntax). No typeclass is required to define a random operator.What did you really mean to say there?