From: "Ludovic Courtès" <ludo@gnu.org>
To: Xinglu Chen <public@yoctocell.xyz>
Cc: 48867@debbugs.gnu.org
Subject: [bug#48867] [PATCH] gnu: Add guile-define.
Date: Tue, 08 Jun 2021 23:26:36 +0200 [thread overview]
Message-ID: <875yyodp4j.fsf@gnu.org> (raw)
In-Reply-To: <b1f9e67d6c0b16a07e4e90cbf49c463392d66390.1622973318.git.public@yoctocell.xyz> (Xinglu Chen's message of "Sun, 06 Jun 2021 11:55:45 +0200")
Hi,
Xinglu Chen <public@yoctocell.xyz> skribis:
> * gnu/packages/guile-xyz.scm (guile-define): New variable.
[...]
> + (native-inputs
> + `(("guile" ,guile-3.0)))
> + (home-page "https://hg.sr.ht/~bjoli/guile-define")
> + (synopsis "Definitions in expression contexts for Guile")
> + (description "This package provides a utility macro to allow
> +@code{define}s in expression contexts of function bodies.")
This may have been useful with Guile 2.x but it’s useless with 3.0,
which already allows that:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (version)
$9 = "3.0.7"
scheme@(guile-user)> (define (divide-minus-one a b)
(when (= b 1) (error "We don't allow that here"))
(define b* (- b 1))
(/ a b*))
scheme@(guile-user)>
--8<---------------cut here---------------end--------------->8---
So either we make the package depend on 2.x, or we drop it. Dropping it
is probably the best option if there are no dependents.
Thoughts?
Ludo’.
next prev parent reply other threads:[~2021-06-08 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-06 9:55 [bug#48867] [PATCH] gnu: Add guile-define Xinglu Chen
2021-06-08 21:26 ` Ludovic Courtès [this message]
2021-06-09 11:15 ` Xinglu Chen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yyodp4j.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=48867@debbugs.gnu.org \
--cc=public@yoctocell.xyz \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.