On Sat, 11 Aug 2012, john saylor wrote:
[...]
and here is my propsed solution:
define js-reverse
(lambda (ls)
((reverse-rec ls '()
[...]
Hello John,
your code above lacks an opening paranthesis before the define and it has
an extraneous pair of parentheses around the call to rev
hi
been working through 'yet another scheme tutorial'
[http://www.shido.info/lisp/idx_scm_e.html], and have come up against
something i cannot figure out.
here is the "answer:"
(define (my-reverse ls)
;(my-reverse-rec ls ()))
(my-reverse-rec ls '()))
(define (my-reverse-rec ls0 ls1)
(if