Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -3,8 +3,8 @@
|
|||
(if (= 1 n) row
|
||||
;; first row, plus (n-1) x m spiral rotated 90 degrees
|
||||
(append row (map 'list #'reverse
|
||||
(apply #'mapcar #'list
|
||||
(spiral (1- n) m (+ start m))))))))
|
||||
(apply #'mapcar #'list
|
||||
(spiral (1- n) m (+ start m))))))))
|
||||
|
||||
;; test
|
||||
(loop for row in (spiral 4 3) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue