[plt-scheme] module require - compile: unbound variable in module
Terrence Brannon wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>I dont know how to fix the error I am getting from MzScheme 207 when
>attempting to require my module with the command:
>
>
well I figured it out --- I renamed a function without renaming the
references.
--
(let recur ((lis x) (k k))
(if (zero? k) (values '() lis)
(receive (prefix suffix) (recur (cdr lis) (- k 1))
(values (cons (car lis) prefix) suffix)))))