[Haskell-cafe] Re: infix functions

David Roundy droundy at abridgegame.org
Tue Dec 20 17:31:15 EST 2005

On Tue, Dec 20, 2005 at 09:12:51PM +0000, Daniel Carrera wrote:
> No, I haven't. That's neat, very neat. Thanks for the tip.
> I just tried it, and all these are valid:
> (a `divides`) b
> (`divides` b) a

The annoyance in this business (which *is* very cool) is that you really
have to decide when you name your functions whether they're meant to be
infix or not.  At least I've never come up with a verb form that makes
sense either infix or prefix... :(
David Roundy

More information about the Haskell-Cafe mailing list