[Chicken-users] scheme student perplexed by failures ...

2012-08-11 Thread john saylor
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

Re: [Chicken-users] scheme student perplexed by failures ...

2012-08-11 Thread Thomas Chust
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