Re: with-open and for

2013-06-08 Thread Steven D. Arnold
Thanks for the responses! As suggested, wrapping in 'doall' does work. On Jun 8, 2013, at 3:28 AM, Thomas Heller wrote: > (defn filter-file [filename] > (with-open [rdr (io/reader filename)] >(reduce (fn [words line] > (->> (str/split line #"\s+") > (filter

Re: [cn-clojure:2334] {ANN} A clojure macro and ruby script to profile clojure program.

2013-06-08 Thread stream
弱弱的问一下,为什么解析不用clojure呢。 是因为基于JVM的clojure太重了,不方便命令行吗 On 2013-6-8, at 下午9:46, dennis zhuang wrote: > A macro named `p` to log data, and a ruby script to parse log file,and it > will give the statistics result of a clojure program: > > > Parsing log file test.log ... > Prowl profile results: >

Re: David Nolen's logic programming readling list

2013-06-08 Thread Craig Ching
Thanks David! -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, s

Re: David Nolen's logic programming readling list

2013-06-08 Thread David Nolen
I'll try to repost that list on my new blog, in the mean time: Art of Prolog Concepts Techniques and Models of Computer Programming Prolog Programming for Artificial Intelligence The Reasoned Schemer Are all all good starts. On Sat, Jun 8, 2013 at 9:27 AM, Craig Ching wrote: > I was looking f

Re: Best IDE

2013-06-08 Thread Jay Fields
I was actually thinking pretty much the same thing. About a year ago I'd never used emacs and now I've contributed to emacs-live*, expectations-mode**, etc, etc. I also have my own emacs lisp open source*** that I use for all kinds of tweaking. My favorite recent addition - I can run my app fro

Re: feeding leiningen a local JAR file

2013-06-08 Thread Plínio Balduino
I'm using the localrepo plugin. On Sat, Jun 8, 2013 at 3:10 PM, Jay Fields wrote: > David Chelimsky recently released: > https://github.com/dchelimsky/lein-expand-resource-paths > > > On Friday, June 7, 2013 10:37:46 PM UTC-4, David Williams wrote: >> >> Try here >> >> >> http://nakkaya.com/2010/

Re: feeding leiningen a local JAR file

2013-06-08 Thread Jay Fields
David Chelimsky recently released: https://github.com/dchelimsky/lein-expand-resource-paths On Friday, June 7, 2013 10:37:46 PM UTC-4, David Williams wrote: > > Try here > > > http://nakkaya.com/2010/03/16/adding-custom-libraries-into-local-leiningen-repository/ > > > > On Wednesday, November 21,

[pre-ANN] test2, the last Clojure testing framework

2013-06-08 Thread Steven Degutis
Test2 is a new testing lib for Clojure, where the power is its simplicity, extensibility, and a SPEC much like Ring's. Github: https://github.com/evanescence/test2 Some background: It came out of discussions

{ANN} A clojure macro and ruby script to profile clojure program.

2013-06-08 Thread dennis zhuang
A macro named `p` to log data, and a ruby script to parse log file,and it will give the statistics result of a clojure program: Parsing log file test.log ... Prowl profile results: Labels: Label:logic count:1 Method: method2mean: 10.81 min: 10.81

Where did the chunked sequence presentations go?

2013-06-08 Thread David Williams
Hi all, I'm interested in Rich Hickey's chunked sequence presentation but both the video and the pdf seem to have been taken down. What happened to those and where can I hear a good discussion of chunked sequences? -- -- You received this message because you are subscribed to the Google Grou

David Nolen's logic programming readling list

2013-06-08 Thread Craig Ching
I was looking for David Nolen's old blog at posterous where he had posted a reading list for logic programming, but that blog is no longer available. Does anyone have that list? Or, David, if you could repost it on your new blog, I'm sure others would appreciate it too! Cheers, Craig -- --

Re: Lisp In Summer Projects

2013-06-08 Thread Catonano
There are news on this front. Some friends of mine managed to get the issue clarified and now italian residents are allowed to partecipate. 2013/5/10 Plínio Balduino > Or sticks, t-shirts, whatever. > I would do it just for fun. > > On Fri, May 10, 2013 at 2:18 AM, Terje Norderhaug > wrote: >

Re: with-open and for

2013-06-08 Thread Thomas Heller
Hey, for produces a lazy sequence (as does flatten) which is hurting you here. You could wrap everything in a doall but I'd recommend using reduce since thats technically what you want here. I'd probably go for something like: (defn filter-file [filename] (with-open [rdr (io/reader filename)