
2 Aug
2018
2 Aug
'18
4:55 p.m.
With function composition I can easily write something like h . g . f $ expr However if I want to write the equivalent in left-to-right composition style: expr & f >>> g >>> h This is not possible due to a parsing error arising from the fixity of the operators. (>>>) is provided by Control.Arrow and (&) by Data.Function. My question is, would it not be better to *decrement* the fixity of (&) by one or *increment* the fixity of (>>>) by one (probably rather the latter)? -- Regards *Frederik Hanghøj Iversen*