[Haskell-beginners] Re: map question
will_n48 at yahoo.com
Sun Oct 18 16:29:45 EDT 2009
Deniz Dogan <deniz.a.m.dogan <at> gmail.com> writes:
> `This` syntax is used to make functions work infix, whereas operators
> already are infix. For this reason, it wouldn't make much sense to use
> `this` syntax (what's that called anyways?) on an operator.
It would be a no-op in general, so nobody would use it.
> `(-)` would in some sense be the same thing as just "-", since () is
> used to make operators prefix and `` is used to make functions infix.
exactly, just that it would be a _binary_ (-) .
More information about the Beginners