Which brings more syntax to learn. In lisp you write macros using same langauge as you write your normal code. In fact there's no disticntion between macro code and lisp code.
Template Haskell brings very little new syntax with it. Mostly, it's just $() and [$||] for splicing and using "quasiquoters". All AST manipulations are done in pure haskell (that just happens to run at compile time).
View all comments
Show parent comment
15
u/vagif Mar 14 '09
Which brings more syntax to learn. In lisp you write macros using same langauge as you write your normal code. In fact there's no disticntion between macro code and lisp code.