Skip to content

Instantly share code, notes, and snippets.

@AdamSaleh
Created April 4, 2013 12:59
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 AdamSaleh/5310152 to your computer and use it in GitHub Desktop.
Save AdamSaleh/5310152 to your computer and use it in GitHub Desktop.
(l/run 1 [test-line]
(l/fresh [query result]
(l/== query ["\"" result "\""])
(l/== result "RHEA-2012:2013")
(l/== test-line [query result])))
([["\"" "RHEA-2012:2013" "\""] "RHEA-2012:2013"])
but when I try generate string instead of list:
(l/run 1 [test-line]
(l/fresh [query result]
(l/== query (str "\"" result "\""))
(l/== result "RHEA-2012:2013")
(l/== test-line [query result])))
(["\"<lvar:result__11513>\"" "RHEA-2012:2013"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment