Skip to content

Instantly share code, notes, and snippets.

@wfarr
Created March 8, 2009 20:13
Show Gist options
  • Select an option

  • Save wfarr/75887 to your computer and use it in GitHub Desktop.

Select an option

Save wfarr/75887 to your computer and use it in GitHub Desktop.
(defmacro test (query &rest args)
`(let ((query-args
(mapcar
(lambda (x)
(coerce (symbol-name x) 'string))
(quote ,args))))
query-args))
(test 'select item.condition.temp weather.forecast location=30332)
;; ("item.condition.temp" "weather.forecast" "location=30332")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment