Skip to content

Instantly share code, notes, and snippets.

@also
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save also/2aec5e4adeb2e4f3ce06 to your computer and use it in GitHub Desktop.
Save also/2aec5e4adeb2e4f3ce06 to your computer and use it in GitHub Desktop.
require-macros and syntax quoting
(ns a
(:require-macros [clojure.string :as alias]))
; this is fine
`xxx/name
; this throws clojure.lang.Symbol cannot be cast to clojure.lang.Namespace
`alias/name
(require 'cljs.closure)
(cljs.closure/build "." {:output-to "out/main.js"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment