Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2015 (3)
20082026
  1. I think the `case-host` macro is what you're looking for: https://github.com/feature-macros/clojurescript/blob/feature...
  2. 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"))) ...…