Hi,

Am 08.02.2009 um 15:25 schrieb Mark Volkmann:

Can someone show me an example of a good use of if-let?

One use:

(defn some-function
  [& args]
  (if-let [fst (first args)]
    (do-something-with fst)
    (do-something-else)))

Sincerely
Meikel

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

Reply via email to