Re:How Lisp macros differ from static code-generation and me...
by eru on Wednesday January 26, 2011 @06:08PM
(#2145695)
For (1) look at OCaml's P4 (very integrated) preprocessor for some macros in a non-homoiconic statically typed language.
For (3) look at how Haskell defines new operators. I find Haskell's use of completely new operator-squiggles plus type classes for something faintly similar to C++-style overloading, much more sensible than say, C++-style overloading.
For (3) look at how Haskell defines new operators. I find Haskell's use of completely new operator-squiggles plus type classes for something faintly similar to C++-style overloading, much more sensible than say, C++-style overloading.