Re:What was your "ah ha" moment with Haskell?
by hencq on Monday June 25, 2012 @08:59AM
(#4156256)
Is there any specific reason why macros can't work in a statically typed language? How does Typed Racket handle this. Or does it not have macros?
[ Parent
| on HN ]
Re:What was your "ah ha" moment with Haskell?
by heretohelp on Monday June 25, 2012 @02:48PM
(#4158018)
Typed Racket is more like type annotations with a checking routine than anything, if you're writing a macro you want generality.
You achieve this by omitting the type annotation and reverting to normal Racket.
You can do macros in a statically typed language, but it would (and does) get ugly fast.