[Haskell-cafe] Bathroom reading

2007-08-14 Thread Dougal Stanton
I'm looking for cool but mind-bending examples of functional brilliance. Let us say, hypothetically, you had a bathroom without any reading material. And having read all the Dilbert and Garfield you could seriously stomach, decide you should educate yourself while "on the job". :-) So you decide

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Bas van Dijk
On 8/14/07, Dougal Stanton <[EMAIL PROTECTED]> wrote: > I'm looking for cool but mind-bending examples of functional brilliance. > > Let us say, hypothetically, you had a bathroom without any reading > material. And having read all the Dilbert and Garfield you could > seriously stomach, decide you

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Brandon S. Allbery KF8NH
On Aug 14, 2007, at 11:17 , Dougal Stanton wrote: Let us say, hypothetically, you had a bathroom without any reading material. And having read all the Dilbert and Garfield you could seriously stomach, decide you should educate yourself while "on the job". :-) Sounds to me like you want a wate

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Spencer Janssen
On Tuesday 14 August 2007 10:17:53 Dougal Stanton wrote: > I'm looking for cool but mind-bending examples of functional brilliance. > > Let us say, hypothetically, you had a bathroom without any reading > material. And having read all the Dilbert and Garfield you could > seriously stomach, decide y

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Brent Yorgey
> > So you decide to print up some "one-liner" style programs into a > little booklet. Something between credit-card and postcard sized, with > a neat but mind-bending program on it. Don Stewart occasionally swoops > in with some fixpoint malarkey to defuse heated discussions. I mean > that kind of

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Dougal Stanton
On 14/08/07, Brent Yorgey <[EMAIL PROTECTED]> wrote: > Clearly, we need to actually put together such a book! I'm imagining > something where you have two mostly blank facing pages, with the code by > itself in the middle of the right page; then the next 2-4 pages devoted to a > short discussion o

Re: [Haskell-cafe] Bathroom reading

2007-08-14 Thread Brent Yorgey
On 8/14/07, Dougal Stanton <[EMAIL PROTECTED]> wrote: > > On 14/08/07, Brent Yorgey <[EMAIL PROTECTED]> wrote: > > Clearly, we need to actually put together such a book! I'm imagining > > something where you have two mostly blank facing pages, with the code by > > itself in the middle of the right

Re: [Haskell-cafe] Bathroom reading

2007-08-15 Thread Ketil Malde
On Tue, 2007-08-14 at 17:22 +0200, Bas van Dijk wrote: > On 8/14/07, Dougal Stanton <[EMAIL PROTECTED]> wrote: > > I'm looking for cool but mind-bending examples of functional brilliance. > Maybe: > > http://www.haskell.org/haskellwiki/Blow_your_mind > http://haskell.org/haskellwiki/Research_pape

Re: [Haskell-cafe] Bathroom reading

2007-08-15 Thread Dan Piponi
On 8/14/07, Dougal Stanton <[EMAIL PROTECTED]> wrote: > I'm looking for cool but mind-bending examples of functional brilliance. One of my favourite examples is: http://citeseer.ist.psu.edu/hinze99functional.html Anyone who studies binomial heaps is struck by the similarity to binary arithmetic. W