On Fri, May 23, 2008 at 5:17 PM, Thomas Hartman <<a href="mailto:tphyahoo@gmail.com">tphyahoo@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> Maybe I don't like to read backwards. ;-)<br>
<br>
</div>>>> (from Control.arrow) is like flip (.)<br>
<br>
</blockquote><div><br>That's something I considered. I like the `|>` operator found in F# (I hope it's not a curse word on this list) which is equivalent to `flip (.)`.<br><br>It's easy to define in Haskell<br>
<br>(|>) :: (a -> b) -> (b -> c) -> a -> c<br>(|>) = flip (.)<br></div></div><br>I even started to use it in my code and then stopped. It may be a stupid concern but as many optimizations performed by GHC are made through rewrite rules and I was worried that those rules may not fire when using this new operator.<br>
<br>I never thought of using `>>>` for this, but again I wonder how it will work with rewrite rules.<br><br>Olivier.<br>