[Haskell-cafe] NewbieQ: colon prefix for operators, e.g., Ratio ?

Brian Beckman bbeckman at exchange.microsoft.com
Sun Oct 10 23:35:38 EDT 2004


Apologies if this is the wrong mailing list in which to pester folks with Newbie Questions, but I couldn't find my answer after half an hour of scouring the Haskell Report, the Haskell Wiki, the School of Expression book and a couple of tutorials.  The frustrating thing is that I know I saw the answer in ONE of those sources and it didn't stick at the time:
 
what does it mean when an operator is prefixed by a colon?  For instance, in the Ratio module, the meaning of 
x % y is clear, but x :% y appears in multiple places and I'm confused.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20041010/d067ff3d/attachment.htm


More information about the Haskell-Cafe mailing list