Who is afraid of arrows, was Re: [Haskell-cafe] ANNOUNCE: Haskell
XML Toolbox Version 9.0.0
David Virebayre
dav.vire+haskell at gmail.com
Thu Oct 14 02:45:26 EDT 2010
2010/10/13 Henning Thielemann <schlepptop at henning-thielemann.de>:
> David Virebayre schrieb:
>> 2010/10/12 Gregory Crosswhite <gcross at phys.washington.edu>:
>>
>>> Also, I don't see why one would prefer >>> over the standard function
>>> composition operator, ".".
>>
>> With "." you have to read right-to-left to follow data's path.
>>
>> For me that reading order isn't natural, and I imagine it is so for
>> most people which don't have a mathematical background.
> http://www.haskell.org/haskellwiki/Direction_of_data_flow
Very informative link, thanks. Fortunately the time when I was
struggling with all that is gone; Even though right-to-left still
isn't "natural" to me, I've now written enough haskell so that isn't a
problem anymore. I don't even try to use >>> redefine a left-to-right
composition operator in my programs, I'm converted !
My previous post was just me remembering my (past) problems with "."
to answer Gregory's question.
David.
More information about the Haskell-Cafe
mailing list