feature-macros/clojurescript
View on GitHub ↗ ★ 22 Clojure
Clojure to JS compiler
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2015-01-21 · latest 2015-01-21
20082026
-
I think the `case-host` macro is what you're looking for: https://github.com/feature-macros/clojurescript/blob/feature...
comment by michaniskin · 2015-01-21 · in Feature Macros, an Alternative to Feature Expressions in Clojure -
I am looking at one of the examples: https://github.com/feature-macros/clojurescript/blob/feature... But if I run Clojure on the JVM, the following fails: (def host nil) (defn foo [] (when (= :cljs host) (gstring/format "something"))) ...…
comment by ICWiener · 2015-01-21 · in Feature Macros, an Alternative to Feature Expressions in Clojure -
▲ 80
Feature Macros, an Alternative to Feature Expressions in Clojurestory by wooby · 2015-01-21 · 32 comments