Re: Incomplete backtrace

2020-03-14 Thread Matt Wette
On 3/14/20 7:19 AM, Christopher Howard wrote: I think there are others here better qualified to answer your question, but maybe one helpful thing: have you read the Guile Implementation section of the Guile Reference Manual? In subsection "A Virtual Machine for Guile" there is this paragraph:

Incomplete backtrace

2020-03-14 Thread Christopher Howard
I think there are others here better qualified to answer your question, but maybe one helpful thing: have you read the Guile Implementation section of the Guile Reference Manual? In subsection "A Virtual Machine for Guile" there is this paragraph: ''' Note that once a value in a local variable

Re: Incomplete backtrace

2020-03-12 Thread Ludovic Courtès
Hi, Jan Synacek skribis: > On Wed, Mar 11, 2020 at 7:07 PM Jan Synacek wrote: [...] >> $ guile -s test.scm >> Backtrace: >> In ice-9/boot-9.scm: >> 1736:10 8 (with-exception-handler _ _ #:unwind? _ # _) >> In unknown file: >>7 (apply-smob/0 #) >> In ice-9/boot-9.scm: >>

Re: Incomplete backtrace

2020-03-11 Thread Jan Synacek
On Wed, Mar 11, 2020 at 7:07 PM Jan Synacek wrote: > Hello, > > consider the following piece of code: > > $ cat test.scm > (use-modules (ice-9 regex)) > > (define (change text) > (regexp-substitute #f (string-match "string" text) > 'pre > "something" 0 > 'post)) > > (define (main)

Incomplete backtrace

2020-03-11 Thread Jan Synacek
Hello, consider the following piece of code: $ cat test.scm (use-modules (ice-9 regex)) (define (change text) (regexp-substitute #f (string-match "string" text) 'pre "something" 0 'post)) (define (main) (change "there will be no match")) (main) When I run the script, I get a