From: jbranso@dismail.de
To: "jgart" <jgart@dismail.de>, "Guix Help" <help-guix@gnu.org>
Subject: Re: How can I step through this code?
Date: Fri, 07 Oct 2022 18:45:36 +0000 [thread overview]
Message-ID: <e3b5adf06124bb6cbca0474929ddd3d2@dismail.de> (raw)
In-Reply-To: <20221005220527.GB3151@dismail.de>
October 5, 2022 11:06 PM, "jgart" <jgart@dismail.de> wrote:
> Hi
>
> How can I step through this code?
>
If you ever find out, then let me know!
I wish guile had a nice debugger like elisp. :)
> (define-syntax do
> (syntax-rules ()
> ((do ((var init step ...) ...)
> (test expr ...)
> command ...)
> (letrec
> ((loop
> (lambda (var ...)
> (if test
> (begin
> (if #f #f)
> expr ...)
> (begin
> command
> ...
> (loop (do "step" var step ...)
> ...))))))
> (loop init ...)))
> ((do "step" x)
> x)
> ((do "step" x y)
> y)))
next prev parent reply other threads:[~2022-10-07 18:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-06 3:05 How can I step through this code? jgart
2022-10-07 18:45 ` jbranso [this message]
2022-10-07 19:22 ` jgart
2022-10-07 21:52 ` jbranso
2022-10-08 1:25 ` jgart
2022-10-08 15:03 ` jbranso
2022-10-08 17:23 ` jgart
2022-10-09 0:14 ` jbranso
2022-10-09 16:30 ` jgart
2022-10-10 19:49 ` jbranso
2022-10-10 22:40 ` jgart
2022-10-10 16:04 ` Ludovic Courtès
2022-10-10 17:00 ` jgart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e3b5adf06124bb6cbca0474929ddd3d2@dismail.de \
--to=jbranso@dismail.de \
--cc=help-guix@gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).