3 ms·
> Compared to Haskell I found the syntax very obtuse and it was not obvious why Lisp would be more powerful than Haskell. What do you mean by "obtuse"? If by t
by jhuni 14y ago
> Compared to Haskell I found the syntax very obtuse and it was not obvious why Lisp would be more powerful than Haskell.
What do you mean by "obtuse"? If by that you mean difficult to understand, Haskell's syntax is far harder to understand because it has operator precedence tables. Even if you manage to memorize the language's built in operator precedence levels developers can define their own operators with custom associativity and precedence.
I will take the uniformity of Lisp syntax rather then the complicated, incomprehensible, and hard to parse syntax of Haskell any day. Lisp syntax is so much simpler then syntactic languages like Haskell that you can even build a simple reversible parser that converts textual code to and from list structures with whitespace metadata: http://lisp-ai.blogspot.com/2012/09/reversible-lisp-reader.html http://lisp-ai.blogspot.com/2012/09/reversible-lisp-reader.h....