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

It seems to me that Feature Macros will be trivially implementable as a library once Feature Expressions land:

    #+clj (def *host* :clj)
    #+cljs (def *host* :cljs)


They're trivially implementable without feature expressions, as we demonstrated with our 20 lines of code.


Right, but if feature expressions are part of "Clojure the language" then feature macros can be implemented as a library. The reverse wouldn't work. Ergo, as attractive as I find feature macros, I think this argues that feature expressions are more "fundamental" and therefore deserving to be part of the core language.


Except on Windows due to Boots current lack of support.


The proposal is not dependent on boot, only our demonstration of it is.




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

Search: