Skip to content

Instantly share code, notes, and snippets.

View currentoor's full-sized avatar

Karan Toor currentoor

  • Temecula, California
View GitHub Profile
(defn ->kebab [s]
(str/join "-" (map str/lower-case (re-seq #"\w[a-z]+" s))))
(def components '[Card
AppBar
LeftNav
CardTitle])
(defn gen-wrapper [component]
`(defmacro ~(symbol (->kebab (str component))) [& args#]
@currentoor
currentoor / quotes.clj
Last active August 29, 2015 14:23
Quoting Confusion
'x
;x
''x
;(quote x)
'''x
;(quote (quote x))
`x
;yaadapp.core/x