Am Sonntag, 17. Februar 2008 14:32 schrieb Peter Verswyvelen:
I don't get why the name isn't arrow instead of arr... Arr reminds
me of pirates, arrrhh ;-)
I guess first was chosen because fst was already taken, but then it
would be logical to choose arrow instead of arr ;-)
arr has two
Subject: Re: [Haskell-cafe] Arrows: definition of pure arr
Am Sonntag, 17. Februar 2008 14:32 schrieb Peter Verswyvelen:
I don't get why the name isn't arrow instead of arr... Arr
reminds
me of pirates, arrrhh ;-)
I guess first was chosen because fst was already taken
On Tue, 19 Feb 2008, Peter Verswyvelen wrote:
But when I show typical Haskell code to object-oriented friends of mine,
they get scared because it looks like math, with all the symbols and
short names.
They will feel like a C programmer looking at C++ code, wondering how the
heck an output
Exactly. And that must be one of the reasons the Java designers said
no to operator overloading? That kind of programmers just don't like
operators I guess. But we do :-) Although I would prefer nice math
symbols and layout instead of the :~ ASCII art.
Thielemann wrote:
On Tue, 19 Feb 2008,
On Feb 19, 2008 8:04 AM, Peter Verswyvelen [EMAIL PROTECTED] wrote:
Actually, if you look at the way OO programmers design code, they usually
choose long descriptive names, like FindElementByName. Most Haskell people
seem more math oriented and use very short names, like fst and snd (which
Am Dienstag, 19. Februar 2008 17:04 schrieben Sie:
PS: Wolfgang also seems to use nice names in Grapefruit for his types, e.g.
act :: PlainCircuit (IO output) output
createPlainCircuit :: PlainCircuit input output - input - IO (output,IO ())
instead of
act :: PlainCircuit (IO a) a
Am Dienstag, 19. Februar 2008 19:37 schrieb Peter Verswyvelen:
Exactly. And that must be one of the reasons the Java designers said
no to operator overloading? That kind of programmers just don't like
operators I guess. But we do :-) Although I would prefer nice math
symbols and layout
On 16 Feb 2008, at 11:40 PM, Peter Verswyvelen wrote:
After having played with some packages that use arrows, and after
having read the very nice programming with arrows paper I wanted
to build some of my own.
Strangely my code did not work, even the simplest function got
stuck in an
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
I don't get why the name isn't arrow instead of arr... Arr reminds
me of pirates, arrrhh ;-)
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
10 matches
Mail list logo