unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: sidhu1f <sidhu1f@gmail.com>, Guile user <guile-user@gnu.org>
Cc: linus.internet@fastmail.se
Subject: Re: Error in error?
Date: Thu, 22 Sep 2022 17:03:58 +0200	[thread overview]
Message-ID: <82abf680-0cbe-dec7-abb9-f7d503370719@telenet.be> (raw)
In-Reply-To: <CADhE+R8yKVgDLV5BrKWijeBa0EO8GAJ8Fsho39_ihi6MChExeQ@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 579 bytes --]



On 22-09-2022 01:17, sidhu1f wrote:
> You are both correct.
> 
> My motivation was to use the assert macro from guile-libs
> (www.nongnu.org/guile-lib/doc/ref/debugging.assert/).

Do you know that Guile already has an 'assert 'macro (see: (guile)rnrs 
base)?  It is less capable though (no ?r-exp), so maybe not suitable for 
your purposes.

> In assert.scm
> (version 0.2.7), the error procedure invocation on line 62 uses "~a".
> So should this invocation be replaced by scm-error instead?

It seems so to me, you could give it a try.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      reply	other threads:[~2022-09-22 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 23:44 Error in error? sidhu1f
2022-08-19 14:16 ` Linus Björnstam
2022-08-19 20:39 ` Maxime Devos
2022-09-21 23:17   ` sidhu1f
2022-09-22 15:03     ` Maxime Devos [this message]

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://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82abf680-0cbe-dec7-abb9-f7d503370719@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guile-user@gnu.org \
    --cc=linus.internet@fastmail.se \
    --cc=sidhu1f@gmail.com \
    /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).