<div dir="ltr"><div>Hello Frederik!</div><div><br></div><div>Indeed, this sounds like a flaw. I don't think it can be easily fixed though. E.g. I tried to recompile GHC with dumped fixity of >>>, as you suggested. It failed short on the Arrow.hs file, complaining about the definition of (|||) inside ArrowChoice:</div><div><br></div><div>f ||| g = f +++ g >>> arr untag <br></div><div><br></div><div>Likewise, many things will be broken by this change in many other places, I guess.</div><div><br></div><div>Nevertheless, you could try to raise this question on the libraries mailing list which is best suited for concerns like this, I believe: <a href="https://mail.haskell.org/mailman/listinfo/libraries">https://mail.haskell.org/mailman/listinfo/libraries</a> <br></div><div><br></div><div>--</div><div>Best, Artem<br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 2 Aug 2018 at 23:55 Frederik Hanghøj Iversen <<a href="mailto:fhi.1990@gmail.com" target="_blank">fhi.1990@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">With function composition I can easily write something like<div><br></div><div> h . g . f $ expr</div><div><br></div><div>However if I want to write the equivalent in left-to-right composition style:</div><div><br></div><div> expr & f >>> g >>> h</div><div><br></div><div>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)?</div><div><div><br></div>-- <br><div dir="ltr" class="m_5048541229763269033m_-8418293666978927967gmail_signature" data-smartmail="gmail_signature"><div>Regards</div><div><i>Frederik Hanghøj Iversen</i></div></div></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>