[Haskell-cafe] Arrows: definition of pure & arr

Peter Verswyvelen bf3 at telenet.be
Sun Feb 17 08:32:27 EST 2008

I don't get why the name isn't "arrow" instead of "arr"... Arr reminds 
me of pirates, "arrrrrrrhh" ;-)
I guess "first" was chosen because "fst" was already taken, but then it 
would be logical to choose "arrow" instead of "arr" ;-)

Ross Paterson wrote:
> On Sun, Feb 17, 2008 at 12:00:43AM -0800, Jonathan Cast wrote:
>>             arr = pure
>>             pure = arr
>> [...]
>> This example is admittedly kind of silly, but I'm sure someone has a
>> passionate attachment to one or both names, so requiring definitions
>> to use one or the other would be controversial.
> Perhaps not.  I used the name pure for arr in the Fun of Programming
> paper, because Richard Bird preferred that name, but it hasn't caught on,
> and now the same name is used in the Applicative class.  So perhaps it
> should be removed from Arrow.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080217/7a2a8605/attachment.htm

More information about the Haskell-Cafe mailing list