|
![](/i/fill.gif) |
Invisible wrote:
> (I believe Lisp macros can
> generate code at runtime, however, which TH definitely cannot do.)
I don't think macros are still around at runtime. What they *can* do is read
user input at compile time, so you can (for example) make up new kinds of
literals.
Assume Haskell doesn't have the "0xABC" kind of syntax for hex literals.
Could you add that with Haskell, or TH?
--
Darren New, San Diego CA, USA (PST)
The question in today's corporate environment is not
so much "what color is your parachute?" as it is
"what color is your nose?"
Post a reply to this message
|
![](/i/fill.gif) |