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 PM2/21/13
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).

Roland Pinto

unread,
Feb 21, 2013, 1:45:24 PM2/21/13
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