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

Henning Thielemann schlepptop at henning-thielemann.de
Wed Oct 13 15:03:36 EDT 2010


Dan Doel schrieb:
> On Sunday 10 October 2010 5:32:16 pm Johannes Waldmann wrote:
>> I mean instead of      h . g . f $ x
>> I'd sometimes prefer   x ? f ? g ? h
>> but what are the "?"
> 
> Note, before anyone gets too excited about this, there are some built-in 
> things about the language that make forward chaining less nice. For instance:
> 
>   (f $ \x -> ...) /= (\x -> ... ? f)
>   (f $ do ...)    /= (do ... ? f)

http://www.haskell.org/haskellwiki/Direction_of_data_flow



More information about the Haskell-Cafe mailing list