On 21/04/07, apfelmus <[EMAIL PROTECTED]> wrote:
Dan Weston wrote:
> -- Why is this not in Prelude?
> dup x = (x,x)
It is (almost). It's called
join (,)
It's unfortunate that the Monad instance for ((->) e) isn't in the Prelude.
___
Haskell-Cafe m
Claus Reinke wrote:
> - oscon seems to be a huge event.
A bold idea would be to redo a talk of another speaker in Haskell and
"accidentally" surpass the techniques presented there :) Alas, this
doesn't work for OSCON since there are too many talks attendees have to
choose between and the event sta
I think you are right. If you used something like a theorem prover as
an example, you accidentally send the messsage that Haskell is very
useful for esoteric stuff that only academics are interested in.
Now, that doesn't mean that the example has to solve a real problem,
but it does need to be so
Dan Weston wrote:
> -- Why is this not in Prelude?
> dup x = (x,x)
It is (almost). It's called
join (,)
Regards,
apfelmus
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Derek Elkins wrote:
Game search is exactly an example use in "Why Functional Programming
Matters" (http://www.math.chalmers.se/~rjmh/Papers/whyfp.html). That
paper, 23 years later, is still pretty compelling. Perhaps, it should
just be modernized and somewhat expanded.
I'll echo Lennart's
DavidA wrote:
Simon Peyton-Jones microsoft.com> writes:
But, just to remind you all: I'm particularly interested in
concrete examples (pref running code) of programs that are
* small
* useful
* demonstrate Haskell's power
* preferably something that might be a bi
A theorem prover might be a really cool example, but if there's one
person in the audience that cares then Simon is lucky. :) You need
to have examples that people can recognize and see the utility of.
-- Lennart
On Apr 19, 2007, at 20:48 , DavidA wrote:
Simon Peyton-Jones micros
Simon Peyton-Jones microsoft.com> writes:
> But, just to remind you all: I'm particularly interested in
>
> concrete examples (pref running code) of programs that are
>* small
>* useful
>* demonstrate Haskell's power
>* preferably something that might be a bit
>