Re: Memory use analysis

2013-08-19 Thread Ludovic Courtès
Hi, m...@markwitmer.com skribis: > Is there some kind of tool or method for getting Guile to enumerate what > objects in the heap are considered "live" by the GC? I guess the > conservative GC Guile uses doesn't explicitly keep track of every > object, but I wouldn't mind just being able to see w

Re: Ignore errors while evaluating with `primitive-eval'

2013-08-19 Thread Mark H Weaver
Hi, Alexandru Cojocaru writes: > is it possible to ignore errors when evaluating a badly formed > expression? Yes. An easy way is to use 'false-is-exception', like this: (false-if-exception (primitive-eval '(this is an error))) => #f However, this won't work if you need to tell the diffe

Ignore errors while evaluating with `primitive-eval'

2013-08-19 Thread Alexandru Cojocaru
Hi guys, is it possible to ignore errors when evaluating a badly formed expression? Take as an example this: (let ((cs (string->list "display"))) (let l ((cs (cdr cs)) (s (car cs))) (primitive-eval `(begin (,(list->symbol s) "aha") (newline