Trying to use lazy-seq for the first time, failing.

2009-06-27 Thread _hrrld
Hi, I'm trying to use lazy-seq to implement a cool piece of functionality I saw in the Factor programming language. Here is the documentation for that functionality: http://docs.factorcode.org/content/word-produce,sequences.html I think a lazy version of Factor's "produce" word would be super- p

Re: Trying to use lazy-seq for the first time, failing.

2009-06-27 Thread _hrrld
On Jun 27, 9:48 am, Meikel Brandmeyer wrote: > Hi, > > Am 27.06.2009 um 02:23 schrieb _hrrld: > > > Am I doing something silly? Or perhaps I've misunderstood lazy-seq's > > operation. > > I think, it's the latter. Here my try on an explanation: >

Re: Trying to use lazy-seq for the first time, failing.

2009-06-29 Thread _hrrld
On Jun 29, 1:15 am, Emeka wrote: > Harold, > > Do you have any material on Factor? I won't going through it. Emeka, Many of these links are relevant: http://www.google.com/search?q=factor+language Regards, -Harold --~--~-~--~~~---~--~~ You received this message

Re: Newbish question. Does anyone have any example code for playing a wav sound file?

2009-07-27 Thread _hrrld
On Jul 27, 7:00 pm, Rayne wrote: > All I'm trying to do is play a simple .wav sound file once. > > I'll appreciate any examples! I'm hesitant to even share this, since I consider myself a rank Clojure and Java neophyte, but I think it is what you're asking for: http://github.com/harold/clj-sound

Re: Processing elements in a lazy seq in parallel

2009-08-10 Thread _hrrld
On Aug 10, 12:18 pm, Tom Emerson wrote: > Hello Clojurians, > > file-seq gives me a convenient way to get a seq of all these files. > What I would like to do is process elements in this sequence in > parallel. My first thought was to process the seq with pmap, but this > is suboptimal because I'm