Hi,

Am 05.10.2009 um 05:03 schrieb Robert Stehwien:

     (dosync (dorun (for [key ks] (alter file-seq-cache dissoc key))))

You might want to write (dorun (for ...)) as (doseq ...). Since you don't use the resulting sequence using for to generate sequence and then using to dorun to force it and immediately throw it away is very ugly. As a rule of thumb: If you need only the side-effects look for macros and functions starting in with "do".

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to