Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: