From 94c069116f5449f491f3270606450189d7fa7fcc Mon Sep 17 00:00:00 2001 From: Richard Harrington Date: Tue, 6 Aug 2013 18:35:27 -0400 Subject: [PATCH] changed parameter-pass-in format to ppt in core.clj, to registers flattened in the argument list --- src/robotwar/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/robotwar/core.clj b/src/robotwar/core.clj index 5e09620..d143bb2 100644 --- a/src/robotwar/core.clj +++ b/src/robotwar/core.clj @@ -37,7 +37,7 @@ worlds)) robot-idx))) -(def ppt (fn [worlds world-tick-idx robot-idx & [reg-keys]] +(def ppt (fn [worlds world-tick-idx robot-idx & reg-keys] (let [{:keys [brain registers] :as robot} (get-robot worlds world-tick-idx robot-idx)] (pprint