Fix behavior on rest arguments

This commit is contained in:
Jay McCarthy 2012-01-12 15:48:51 -07:00
parent 2d0d4823a7
commit fda7e8bad5

View File

@ -104,7 +104,7 @@
[(null? pil) '()]
[(pair? pil) (cons (pimap f (car pil))
(pimap f (cdr pil)))]
[else (f pil)]))
[else (list (f pil))]))
;; wrap-to-count : string nat -> (listof string)
;; breaks str into substrings such that no substring