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.
I'm just getting into clisp (I read somewhere that it is inevitable that everyone on HN will eventually try lisp when they have been around long enough) at the moment, and would like to try my hand at some Haskell later as well, and one of the hardest things to do is to think of data in FP terms.