Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-12 Thread Luke Palmer
On Sat, Oct 11, 2008 at 8:32 PM, Simon Richard Clarkstone [EMAIL PROTECTED] wrote: (Darnit Thunderbird, why don't you DWIM when I hit reply or reply-all?) You're not writing about Perl, you're writing about Haskell! It should have been a type error. Luke

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-11 Thread Simon Richard Clarkstone
John Van Enk wrote: On Sun, Oct 5, 2008 at 11:21 PM, John Van Enk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Sun, Oct 5, 2008 at 6:22 PM, Simon Richard Clarkstone [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: BTW, these could go on the wiki. I'll see about putting them there.

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-05 Thread Simon Richard Clarkstone
John Van Enk wrote: You shoot the gun, but the bullet gets trapped in the IO monad. The community points you at the paper Bang-bang-patterns: expressing lethal weaponry in the Haskell typesystem. Your head explodes. BTW, these could go on the wiki. -- src/ -XIncomprehensibleTypes

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-05 Thread Ilmari Heikkinen
On 10/1/08, John Van Enk [EMAIL PROTECTED] wrote: There's the well known How to shoot your self in the foot list which I have it printed and taped on my desk at work. http://www-users.cs.york.ac.uk/susan/joke/foot.htm I had a co-worker ask me how you'd shoot your self in the foot with

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-05 Thread John Van Enk
I'll see about putting them there. :) On Sun, Oct 5, 2008 at 6:22 PM, Simon Richard Clarkstone [EMAIL PROTECTED] wrote: BTW, these could go on the wiki. -- /jve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-05 Thread John Van Enk
http://haskell.org/haskellwiki/Shooting_your_self_in_the_foot This needs to be cleaned up a little (lots of dups, though they are all great). On Sun, Oct 5, 2008 at 11:21 PM, John Van Enk [EMAIL PROTECTED] wrote: I'll see about putting them there. :) On Sun, Oct 5, 2008 at 6:22 PM, Simon

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-02 Thread Arnar Birgisson
On Thu, Oct 2, 2008 at 00:39, Bill [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 16:46 -0400, John Van Enk wrote: . . . I fully realize how un-clever this is. Some one please give me something more worth of the original list. :) You shoot the gun but nothing happens (Haskell is pure,

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-02 Thread Albert Y. C. Lai
Don't forget about memory consumption! If you don't look, the bullet causes heap overflow. If you look, the bullet causes stack overflow. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-02 Thread Arnar Birgisson
On Thu, Oct 2, 2008 at 17:11, Albert Y. C. Lai [EMAIL PROTECTED] wrote: Don't forget about memory consumption! If you don't look, the bullet causes heap overflow. If you look, the bullet causes stack overflow. So it is a Heisenberg-bullet? Arnar

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-02 Thread Andrew Coppin
John Van Enk wrote: There's the well known How to shoot your self in the foot list which I have it printed and taped on my desk at work. http://www-users.cs.york.ac.uk/susan/joke/foot.htm I had a co-worker ask me how you'd shoot your self in the foot with Haskell. The interesting thing

[Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread John Van Enk
There's the well known How to shoot your self in the foot list which I have it printed and taped on my desk at work. http://www-users.cs.york.ac.uk/susan/joke/foot.htm I had a co-worker ask me how you'd shoot your self in the foot with Haskell. Here's the best I could do: You shoot the gun,

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Martin DeMello
2008/10/1 Joachim Breitner [EMAIL PROTECTED]: You shoot the gun, but nobody notices because no-one evaluates the target. Who'd've thunk it! m. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Jake McArthur
John Van Enk wrote: I had a co-worker ask me how you'd shoot your self in the foot with Haskell. [...] Some one please give me something more worth of the original list. Couldn't match expected type 'Deer' against inferred type 'Foot' - Jake ___

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Simon Brenner
On 10/1/08, John Van Enk [EMAIL PROTECTED] wrote: There's the well known How to shoot your self in the foot list which I have it printed and taped on my desk at work. http://www-users.cs.york.ac.uk/susan/joke/foot.htm I had a co-worker ask me how you'd shoot your self in the foot with

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Jason Dagit
On Wed, Oct 1, 2008 at 3:27 PM, Simon Brenner [EMAIL PROTECTED] wrote: On 10/1/08, John Van Enk [EMAIL PROTECTED] wrote: There's the well known How to shoot your self in the foot list which I have it printed and taped on my desk at work. http://www-users.cs.york.ac.uk/susan/joke/foot.htm

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread John Van Enk
On Wed, Oct 1, 2008 at 6:38 PM, Jason Dagit [EMAIL PROTECTED] wrote: Heh. Nice. Oleg has earned himself the Haskell equivalent of a Chuck Norris reputation. Except that Oleg has really earned the respect he gets from our teasing. BTW, is there an Oleg Facts website? Jason Not that I

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Bill
On Wed, 2008-10-01 at 16:46 -0400, John Van Enk wrote: . . . I fully realize how un-clever this is. Some one please give me something more worth of the original list. :) You shoot the gun but nothing happens (Haskell is pure, after all). ___

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Evan Laforge
On Wed, Oct 1, 2008 at 3:39 PM, Bill [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 16:46 -0400, John Van Enk wrote: . . . I fully realize how un-clever this is. Some one please give me something more worth of the original list. :) You shoot the gun but nothing happens (Haskell is pure,

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread John Melesky
On Oct 1, 2008, at 1:46 PM, John Van Enk wrote: You shoot the gun, but the bullet gets trapped in the IO monad. You have a shootFoot function which you've proven correct. QuickCheck validates it for arbitrary you-like values. It will be evaluated only when you end up at the hospital. You

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Martin DeMello
On Wed, Oct 1, 2008 at 3:39 PM, Bill [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 16:46 -0400, John Van Enk wrote: . . . I fully realize how un-clever this is. Some one please give me something more worth of the original list. :) You shoot the gun but nothing happens (Haskell is pure,

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Gwern Branwen
On 2008.10.01 15:38:08 -0700, Jason Dagit [EMAIL PROTECTED] scribbled 4.3K characters: Heh. Nice. Oleg has earned himself the Haskell equivalent of a Chuck Norris reputation. Except that Oleg has really earned the respect he gets from our teasing. BTW, is there an Oleg Facts

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread Luke Palmer
On Wed, Oct 1, 2008 at 3:42 PM, Jake McArthur [EMAIL PROTECTED] wrote: John Van Enk wrote: I had a co-worker ask me how you'd shoot your self in the foot with Haskell. [...] Some one please give me something more worth of the original list. Couldn't match expected type 'Deer' against

Re: [Haskell-cafe] Shooting your self in the foot with Haskell

2008-10-01 Thread ajb
G'day all. On Wed, Oct 1, 2008 at 3:42 PM, Jake McArthur [EMAIL PROTECTED] wrote: Couldn't match expected type 'Deer' against inferred type 'Foot' No instance for (Target Foot) arising from use of `shoot' at SelfInflictedInjury.hs:1:0 Possible fix: add an instance declaration