Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Proposal A: new special form compile-time-let

This is likely the less desirable way to do it.  You can skip it and read Proposal B if you want to get to the good stuff.

Introduce a new special form in Clojure called compile-time-let that takes a vector of bindings, and makes those bindings active in the textual scope of the compile-time-let expression during compile time.  For example: