3 ms·
AFAIK Haskell doesn't support metaprogramming. Perhaps you mean "Template Haskell"?
by ninesigns 9y ago
AFAIK Haskell doesn't support metaprogramming. Perhaps you mean "Template Haskell"?
- willtim 9y agoTemplate Haskell is meta-programming. It supports quasi-quotation, just like Lisp.
- lispm 9y agoquasi-quotation is an unrelated feature in Lisp. It's there to build list structures from templates. Using templates in macros is sometimes helpful, sometimes not.
- willtim 9y agoIn Template Haskell quasi-quotation is how one would add new syntax, but it's not necessary either if all that is required is macro expansion.