Make some edits.

This commit is contained in:
Scott Richmond 2023-10-13 18:18:05 -04:00
parent 7f0415954c
commit 3b5a789333
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
[ludus.scanner :as s]))
(def source
"(1 2)
"(1, 2)
"
)

View File

@ -36,7 +36,7 @@
heading (:heading prev)
unit (heading->vec heading)
move (scale unit steps)
curr (update prev :postion #(add % move))]
curr (update prev :postion #(add % move))]
(swap! path #(conj % curr))))
(defn back [steps] (forward (* -1 steps)))