[Haskell-beginners] Question about precedence

Brandon Allbery allbery.b at gmail.com
Mon Jul 1 18:32:07 CEST 2013


On Mon, Jul 1, 2013 at 12:14 PM, Marc Gorenstein
<marc.gorenstein at gmail.com>wrote:

> What sort of beast is ( / 8) in Haskell? It looks like it is a function
> that divides a number by 8.
>

It's an operator section.
http://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-300003.5describes
their syntax and their precedence behavior.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130701/36a6b274/attachment.htm>


More information about the Beginners mailing list