Created
April 4, 2013 12:59
-
-
Save AdamSaleh/5310152 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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