News for hackers. Stuff that matters.
Re:Haskell vs Clojure syntax by crntaylor on Tuesday February 12, 2013 @04:10PM (#5209554)
It would have been more compelling if the author exhibited two code snippets that do the same thing.

In the Clojure example, he adds two numbers together, defines a function that modifies a string by prepending "Hello " and defines a constant.

In the Haskell example he overloads the `pure` and <*> functions to work on the 'Maybe' type, allowing arbitrary functions to be lifted into 'Maybe' to allow automatic propagation of failure.

Re:Haskell vs Clojure syntax by mrhonza on Tuesday February 12, 2013 @07:49PM (#5210626)
I know some Clojure and barely any Haskell at all. I opened up "Learn you a Haskell" and copied and pasted a few code samples that appeared to have strange syntax. The idea of the post was to show the difference in the amounts of syntax in the two languages.
Re:Haskell vs Clojure syntax by crntaylor on Wednesday February 13, 2013 @04:44AM (#5212238)
You know 'some' of language A and 'barely any' of language B, and you thought it would be a good idea to write a blog post comparing them and post it to HN?