[Haskell-cafe] Re: Re-order type (flip map)

Felipe Lessa felipe.lessa at gmail.com
Sun Oct 10 17:35:07 EDT 2010


On Sun, Oct 10, 2010 at 6:32 PM, Johannes Waldmann
<waldmann at imn.htwk-leipzig.de> wrote:
> Oh, and while we're at it - are there standard notations
> for "forward" function composition and application?
>
> I mean instead of      h . g . f $ x
> I'd sometimes prefer   x ? f ? g ? h
> but what are the "?"

import Control.Arrow

something = f >>> g >>> h $ x

-- 
Felipe.


More information about the Haskell-Cafe mailing list