IRC channel logs

2021-09-26.log

back to list of logs

<dadinn>khm, sorry logged in twice
<dadinn>I would like to use the `with-exception-handler` procedure but it's not available, so I assume that (ice-9 exceptions) module is needed
<mwette>dadinn: you may need recent version of guile
<manumanumanu>dadinn: building on what mwette said: it is available in the default environment in guile 3.0.5
<attila_lendvai>if i print a backtrace with display-backtrace the output is partial. can i ask somehow for more detals?
<tohoyn>attila_lendvai: display-backtrace has an optional argument depth. see the guile info pages.
<attila_lendvai>tohoyn, i read the docs, but apparently i misunderstood it. let me see how that behaves...
<tohoyn>attila_lendvai: I have had a similar problem, which I solved by switching off my program's own error handler (so that the exception is handled by the default error handler).
<attila_lendvai>tohoyn, no, i got it right: depth only changes the number of frames printed. my issue is that the frame itself is cut, it's full of '...'
<attila_lendvai>i'm probably looking for something like *print-depth* in common lisp
<attila_lendvai>slime has swank-r6rs.scm as a backend. did anyone try that with guile?
<attila_lendvai>oh, there's https://github.com/ecraven/r7rs-swank but without guile support
<attila_lendvai>oh! the latest commit is "Make guile3 basically work." :)
<dadinn>hi all
***yewscion is now known as yewscion_
<stis>Hello guilers!
<xyh>hi stis
<manumanumanu>Tjenare Stis!
<stis>:)
<manumanumanu>What a lovely day to be alive! I decided not to fight the phasing issues I had in chez, and simply ignore that it exists and not port goof-lop to it :)
<stis>lovely!
<manumanumanu>which makes me wonder how guile does things. I can refer to a library binding from a macro as much as I want, whereas chez complains
<manumanumanu>the manual mentions "implicit phasing" by no one less than A. Ghuloum and K. Dybvig
<manumanumanu>which makes me wonder if it is actually implemented in chez.
***karlosz_ is now known as karlosz