[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Geiser-users] Tracing function calls with guile
From: |
Ivan Sichmann Freitas |
Subject: |
[Geiser-users] Tracing function calls with guile |
Date: |
Tue, 2 Jul 2013 05:12:59 -0300 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
pgpOl2M4dvnA0.pgp
Description: PGP signature
- [Geiser-users] Tracing function calls with guile,
Ivan Sichmann Freitas <=