[Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-22 Thread apfelmus
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

Re: [Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-22 Thread Cale Gibbard
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

[Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-21 Thread apfelmus
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

Re: [Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-21 Thread Steve Downey
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

Re: [Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-20 Thread Bryan O'Sullivan
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

[Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-19 Thread DavidA
Simon Peyton-Jones simonpj at 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

Re: [Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-19 Thread Lennart Augustsson
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

Re: [Haskell-cafe] Re: How Albus Dumbledore would sell Haskell

2007-04-19 Thread Derek Elkins
DavidA wrote: Simon Peyton-Jones simonpj at 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