[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Use of trace and break

From: Lawrence Bottorff
Subject: [Chicken-users] Use of trace and break
Date: Thu, 14 Jul 2016 21:06:31 -0400

I'm trying to run trace:

(define (powerset lst)
  (if (null? lst)
      (append-map (lambda (x)
                        (list x (cons (car lst) x)))
                    (powerset (cdr lst)))))

inside the csi repl. I'd like to set breakpoints and stop the routine and see what each parameter is holding. Can someone walk me through how this is done?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]