Re:What was your "ah ha" moment with Haskell?
by dllthomas on Monday June 25, 2012 @02:16AM
(#4155326)
> What is the point of interactivity, homoiconicity and macros if the language is statically typed?
If the type system can handle it? MAGIC!
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?
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.
Clojure without dynamic-typing is bath-water without baby. What is the point of interactivity, homoiconicity and macros if the language is statically typed?