Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created August 12, 2014 08:37
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 anonymous/962275ab342c4831b70b to your computer and use it in GitHub Desktop.
Save anonymous/962275ab342c4831b70b to your computer and use it in GitHub Desktop.
user=> (def a ^{:sample-key "sample data"} "string")
IllegalArgumentException Metadata can only be applied to IMetas clojure.lang.LispReader$MetaReader.invoke (LispReader.java:744)
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Util.java:221)
user=> (def a ^{:sample-key "sample data"} ["string"])
#'user/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment