News for hackers. Stuff that matters.
Re:Functional programming explained ... IRC-style by tumult on Sunday January 31, 2010 @06:06AM (#1090374)
You think it's weird now, wait until you start building infinite lists or writing recursive functions with no terminating case as part of your everyday routine in Haskell :)
Re:Functional programming explained ... IRC-style by mapleoin on Sunday January 31, 2010 @07:30AM (#1090420)
you can do that with python generators, too. These don't seem like the most eccentric Haskell features to me.
Re:Functional programming explained ... IRC-style by tumult on Sunday January 31, 2010 @08:31AM (#1090450)
Don't generators have to yield in order to return data?

And I never claimed these were eccentric features.

Re:Functional programming explained ... IRC-style by tel on Sunday January 31, 2010 @12:50PM (#1090745)
Take a look at Parsec sometime.

Sure, you can do parsers in any language, but the monadic/combinator structure is a little bit eccentric and a lot amazing.

Re:Functional programming explained ... IRC-style by Sapient on Sunday January 31, 2010 @07:56AM (#1090435)
Heh, one step at a time... Those sound like they can produce headaches.