Hello,

I'm unable to get traces with geiser's guile repl. Consider this
example:

(define (square x) (* x x))
(define (fast-expt-iter b n a count)
  (if (= count n)
      a
      (if (< (- n count) 2)
          (fast-expt-iter b n (* b a) (+ count 1))
          (fast-expt-iter b n (* a (square b)) (+ count 2)))))

Using ,trace (fast-expt-iter 4 8 1 0) in the repl yields no output, but
in the standard guile repl it prints execution's trace. In geiser's,
even using ,option trace #t made no difference.

Am I doing something wrong when tracing or it is tracing not supported
by guile?

Regards.

-- 
Ivan Sichmann Freitas
GNU/Linux user #509059
SDF MetaArpa Member http://isf.sdf.org/about.html
Phone: +55 (19) 8227 8610

Attachment: pgpDgVINLXD5K.pgp
Description: PGP signature

Reply via email to