
1 Jul
2013
1 Jul
'13
4:14 p.m.
What sort of beast is ( / 8) in Haskell? It looks like it is a function that divides a number by 8. *Main> ( / 8 ) 4 0.5 *Main> let a = ( / 8 ) *Main> a 4 0.5 -- Yup that works. Does ( / 8 ) turn into a function that takes an argument, so that the "left" input to the /, becomes a right input to the function? What precedence rule is being followed here? Thanks, Marc