I forgot to mention that for some reason, using the builtin foldl doesn't work
but if I define it myself separately, then it works.
(define (foldl proc init lst)
((null? lst) init)
(else (foldl proc (proc (car lst) init) (cdr lst)))))
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.