Hi, Am 21.10.2009 um 01:40 schrieb Dmitry Kakurin:
> Where do I use a sequence? reduce? or this line? No. reduce itself is eager. >>> (repeat (count filters) []) > Should I wrap it in (vec ...) or is there a better way? repeat, map, filter, cycle, take, iterate, etc. are all sequence functions. They will turn their argument into sequence (via seq) and return again a sequence. As I said: I don't know. It's probably not much of a difference. If it works for you, use it! Worry about speed when it's a problem. > I've read it many times, and I've tried to do it. > But how do you solve this practical problem: > When you need to insert something in the middle, how do you find the > right closing paren > where to split it? I use TextMate if it matters. As others said: try to get some support into your editor. I use Vim with VimClojure. It colors the paren ("rainbow parens") so it's relatively easy to match the paren visually. Even without that aid Vim would highlight the correct paren when putting the cursor on its partner paren. % let's me move between matching parens etc... With some training the "paren problem" (if you want to call it like that) will mostly vanish. > P.S. Why does it take almost 2 DAYS for my messages to appear in this > group? I've sent two last messages on Sunday afternoon. Because Google Groups is one of the worst interfaces ever? I don't know what it's problem is, but mailing lists are not a terribly new idea. After 20 years of working mailing lists Google Groups is really disappointing. I noticed this delay also from the web interface. Maybe you should try to send emails directly from you mailing client. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature