by smoofra · 17y ago · 0 comments
let vars
in expr
you wouldn't be able to use Template Haskell to create it from scratch. Any domain-specific languages you make have to mimic existing Haskell syntax.Macros are for introducing new control primitives, syntax and evaluation models into the language.
Except, I suppose, for perverse macros which expand into shorter code :)