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

2007-05-21 Thread Henning Thielemann
On Wed, 18 Apr 2007, Dan Weston wrote: You have already won over the scientists. I only know few mathematicians using Haskell, most of the (applied) mathematician colleagues I know prefer MatLab. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

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

2007-05-21 Thread Andrew Coppin
Henning Thielemann wrote: On Wed, 18 Apr 2007, Dan Weston wrote: You have already won over the scientists. I only know few mathematicians using Haskell, most of the (applied) mathematician colleagues I know prefer MatLab. Blehr! _ I hate MatLab... it's horrid! (OTOH, I'm not

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

2007-05-21 Thread Brandon S. Allbery KF8NH
On May 21, 2007, at 14:15 , Andrew Coppin wrote: Henning Thielemann wrote: I only know few mathematicians using Haskell, most of the (applied) mathematician colleagues I know prefer MatLab. I hate MatLab... it's horrid! Everyone hates Matlab. Problem is, it's hard to find anything like

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

2007-05-21 Thread Dipankar Ray
(aside to Dylan T: I hope you don't mind me advertising your (well, public) web pages here. In my opinion a lot more people should know about the stuff that both you and Ken are doing!) Here's an example of some great math being done in haskell:

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

2007-04-25 Thread Alexey Rodriguez Yakushev
Since no one mentioned automatic differentiation (AD), I will. I think AD is a nice example of using type classes and higher order functions to get small and useful code. Maybe this example is not ideal for the audience, but anyway, Simon has the last word. Here is how demo would go:

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

2007-04-25 Thread R Hayes
I don't know how many of the other people on this list are actually going to *be* at OSCON. I will. I think it is important to think about the kinds of problems the audience is trying to solve, as well as the context in which they are trying to solve them. For the most part, the

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

2007-04-21 Thread Claus Reinke
seems Simon has got himself a tricky problem. i was about to hit reply to his first call, but then i browsed through the oscon site, and thought that perhaps my background isn't close enough to the intended audience to make useful suggestions, not to mention the concrete examples asked for. but

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

2007-04-20 Thread Mirko Rahn
Thanks for your answer, I think it emphasizes that my example matches the exclaimed conditions * small * useful * demonstrate Haskell's power * preferably something that might be a bit tricky in another language It's easy to encode this in some

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

2007-04-20 Thread Justin Bailey
On 4/19/07, Simon Peyton-Jones [EMAIL PROTECTED] wrote: I have lots of *general* ideas. What I'm hoping is that I can steal working code for one or two compelling examples, so that I can spend my time thinking about how to present it, rather than on dreaming up the example and writing the

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

2007-04-20 Thread Tillmann Rendel
Mirko Rahn wrote: More important: Correct me, if I'm wrong, but as far as I understand java, it is still impossible in your solution to evaluate the equivalent of head $ mirror $ rel [ (i,i) | i - [0..] ] in finite time, that is, your MirrorRel is not lazy in the elements. You have to build

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

2007-04-20 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: G'day all. Quoting Isaac Dupree [EMAIL PROTECTED]: Okay, looking at that code: The comments before the type definitions are mostly good... now it looks like I'm going into critique mode :) BTW, for the record, I

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

2007-04-20 Thread Dan Weston
Simon Peyton-Jones wrote: Lots of interesting ideas on this thread, and Haskell-Cafe threads are *supposed* to wander a bit. But, just to remind you all: I'm particularly interested in concrete examples (pref running code) of programs that are * small * useful *

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

2007-04-19 Thread Simon Peyton-Jones
| Simon (aka Dumbledore) is speaking to four different Houses: scientists | (Ravenclaw), engineers (Hufflepuff), entrepreneurs (Slytherin), and | managers (Griffindor). I wish I could live up to this image! Lots of interesting ideas on this thread, and Haskell-Cafe threads are *supposed* to

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

2007-04-19 Thread ajb
G'day all. Quoting Simon Peyton-Jones [EMAIL PROTECTED]: Lots of interesting ideas on this thread, and Haskell-Cafe threads are *supposed* to wander a bit. But, just to remind you all: I'm particularly interested in concrete examples (pref running code) of programs that are *

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

2007-04-19 Thread Mirko Rahn
* small * useful * demonstrate Haskell's power * preferably something that might be a bit tricky in another language Something I like: A finite (binary) relation data Rel q = Rel { elems :: [(q,q)] } We do not export constructors, hence rel xs =

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

2007-04-19 Thread Isaac Dupree
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: I updated the diff example a bit: http://andrew.bromage.org/darcs/diff/ It now features TWO newtype synonyms. This illustrates a crucial feature of Haskell: Abstractions are cheap. Okay, looking at that code: The

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

2007-04-19 Thread ajb
G'day all. Quoting Isaac Dupree [EMAIL PROTECTED]: Okay, looking at that code: The comments before the type definitions are mostly good... now it looks like I'm going into critique mode :) BTW, for the record, I didn't try too hard with this. It is meant to be illustrative of what you can

[Haskell-cafe] How Albus Dumbledore would sell Haskell

2007-04-18 Thread Dan Weston
It is unscientific to ask the (highly biased) people on this list how to sell Haskell. A focus group of the target audience is clearly called for. Having said that, I will now violate my own advice. Knowledge of the audience is critical to the success of a presentation. Simon (aka Dumbledore)

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

2007-04-18 Thread Paul Johnson
Dan Weston wrote: Simon (aka Dumbledore) is speaking to four different Houses: scientists (Ravenclaw), engineers (Hufflepuff), entrepreneurs (Slytherin), and managers (Griffindor). Agreed, although perhaps there are two groups of scientists: Computer Scientists and Other Scientists. Dan

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

2007-04-18 Thread Seth Gordon
Paul Johnson wrote: You cannot win over the entrepreneur with promises of easier and more robust. This translates to anyone can do it and the valuable trade secret of arcane wizardry is now devalued. I suggest reading extracts from Beating the Averages by Paul Graham. Then explain that

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

2007-04-18 Thread Clifford Beshers
Seth Gordon wrote: I think a more powerful argument would be to talk about cases where Haskell is *actually being used* industrially. E.g., these folks at Credit Suisse are using Haskell for their analytics because in their line of work, if the implementation of the code doesn't match up

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

2007-04-18 Thread R Hayes
In general, problems that would lose millions of dollars are noticed very quickly. Quants are constantly analyzing the sources of shortfall in implementing strategies. Also, time to market is generally more important than correctness. It's much better to have a strategy that mostly

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

2007-04-18 Thread Duncan Coutts
That was beautiful, thanks. :-) On Wed, 2007-04-18 at 12:45 -0700, Dan Weston wrote: Simon (aka Dumbledore) is speaking to four different Houses: scientists (Ravenclaw), engineers (Hufflepuff), entrepreneurs (Slytherin), and managers (Griffindor). My advice to him is: