Hi,

Am 07.01.2009 um 00:18 schrieb Tom Ayerst:

There is a bug in end-game? which means it never ends. I'm not sure if this is the most idiomatic way to fix it but it seems to work.

(defn end-game? [{:keys [apple snake]}]

The idiomatic way is maybe using :as.

(defn end-game? [{:keys [apple snake] :as game}]
  ..)

Sincerely
Meikel

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

Reply via email to