Re: How do people debug their guile code?

2020-09-08 Thread Fredrik Salomonsson
Hi Zelphir, Zelphir Kaltstahl writes: > I've not used guile-hall yet, nor tested with it. It has some rough edges but keeps my focus away from hacking on build system files (which I tend to do far too much). So I'm digging it. > However, what I do to reproduce the same environment as I have in

Re: How do people debug their guile code?

2020-09-08 Thread Aleix Conchillo Flaqué
Hi, On Tue, Sep 8, 2020 at 10:43 AM Fredrik Salomonsson wrote: > > Hi again, > > I recently asked about something similar but more Emacs specific in the > thread "Debug setup in Emacs". But it seems there are some more work to > be done to get it properly hooked up with Emacs' GUD. I asked a fol

Re: How do people debug their guile code?

2020-09-08 Thread Jeremy Korwin-Zmijowski
Hey Fredrik ! I practice Test Driven Development to the point I make very small changes so I can manage the debugging part usually thanks to the pk command. Otherwise I call for help haha (love you, guilers) I have to say, I never worked on big projects so I don't have big requirements haha Che

Re: How do people debug their guile code?

2020-09-08 Thread Zelphir Kaltstahl
Hi Fredrik! On 08.09.20 19:42, Fredrik Salomonsson wrote: > Hi again, > > I recently asked about something similar but more Emacs specific in the > thread "Debug setup in Emacs". But it seems there are some more work to > be done to get it properly hooked up with Emacs' GUD. I asked a follow > up

Re: guile fibers - looking for adivce

2020-09-08 Thread Aleix Conchillo Flaqué
On Tue, Sep 8, 2020 at 12:48 AM Chris Vine wrote: > On Mon, 7 Sep 2020 17:25:38 -0700 > Aleix Conchillo Flaqué wrote: > [snip] > > To be honest, I've never used GOOPS so things might be a bit more > > complicated there, I don't know. But it sounds like you have two options: > > > > - Create a fi

How do people debug their guile code?

2020-09-08 Thread Fredrik Salomonsson
Hi again, I recently asked about something similar but more Emacs specific in the thread "Debug setup in Emacs". But it seems there are some more work to be done to get it properly hooked up with Emacs' GUD. I asked a follow up question how people debug their code and got as suggestion that it m

Re: Debug setup in emacs

2020-09-08 Thread Fredrik Salomonsson
Hi Zelphir, Zelphir Kaltstahl writes: > I usually find myself using (display (simple-format #f "blablabla: ~a\n > some-binding)) or a custom procedure wrapping it. You might want to try (simple-format #t "blablabla: ~a\n some-binding) instead. The #t will send it to the current output port, so

Re: Debug setup in emacs

2020-09-08 Thread Fredrik Salomonsson
Hi Catonano, Catonano writes: > I know some people have been using the "pk" procedure > > It displays the arguments you pass to it in the terminal and returns the > same arguments, untouched > > So you can sprinkle it all around > > I've had my issues with it though I didn't know about the "pk"

Re: http-client port encoding failed

2020-09-08 Thread tomas
On Tue, Sep 08, 2020 at 09:26:57AM -0500, mbcladw...@stihie.net wrote: > > Not sure I am doing exactly what you suggest but the following > (based on your suggestion) seems to work: Glad it helped :) Cheers - t signature.asc Description: Digital signature

Re: http-client port encoding failed

2020-09-08 Thread mbcladwell
Not sure I am doing exactly what you suggest but the following (based on your suggestion) seems to work: (define auth "Marjanović+Ž") (http-request (string-append "https://..&term="; auth "[auth]&retmax=20")) ===> error!! Throw to key `encoding-error' with args `("put-char" "conversion

Re: display path of directory of a file and bug?

2020-09-08 Thread Catonano
Il giorno dom 6 set 2020 alle ore 17:13 <2qdxy4rzwzuui...@potatochowder.com> ha scritto: > On 2020-09-06 at 16:03:17 +0200, > Zelphir Kaltstahl wrote: > > > If I move a file using `mv`, a recomplation seems to be not > > required. If I copy the file instead, Guile recompiled it. Does this > > hav

Re: guile fibers - looking for adivce

2020-09-08 Thread Chris Vine
On Mon, 7 Sep 2020 17:25:38 -0700 Aleix Conchillo Flaqué wrote: [snip] > To be honest, I've never used GOOPS so things might be a bit more > complicated there, I don't know. But it sounds like you have two options: > > - Create a fiber with the object and pass data from the object using > channel