Groups
Groups
Sign in
Groups
Groups
Clojure
Conversations
About
Send feedback
Help
Re: Insert to a database does not work with jar file.
23 views
Skip to first unread message
Michael Klishin
unread,
Feb 21, 2013, 1:35:19 PM
2/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clo...@googlegroups.com
2013/2/21 Roland Pinto
<
roland...@gmail.com
>
But if I run lein uberjar and do a java -jar target/file.jar it doesnt do anything at all
clojure.core/map is lazy. REPL forces evaluation because it needs to print results
to you.
Wrap map in doall (if you need returned values) or dorun (if you only want side effects).
That will force evaluation.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
Roland Pinto
unread,
Feb 21, 2013, 1:45:24 PM
2/21/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clo...@googlegroups.com
I had a feeling this was due to laziness. Thanks for your help. It works now.
Reply all
Reply to author
Forward
0 new messages