From: lloda <lloda@sarc.name>
To: Andy Wingo <wingo@igalia.com>
Cc: Arvydas Silanskas <nma.arvydas.silanskas@gmail.com>,
47538@debbugs.gnu.org
Subject: bug#47538: ice-9 regex procedures not found when trying to use from r7rs-style defined library
Date: Sun, 2 May 2021 17:32:53 +0200 [thread overview]
Message-ID: <00A24302-EA31-4001-B61E-92E4EA449D00@sarc.name> (raw)
In-Reply-To: <87mttdjldj.fsf@igalia.com>
Perhaps an acceptable fix would be to re-export from (ice-9 regex) before eventually deprecating the other export.
> On 2 May 2021, at 15:50, Andy Wingo <wingo@igalia.com> wrote:
>
> Hi,
>
> On Thu 01 Apr 2021 09:06, Arvydas Silanskas <nma.arvydas.silanskas@gmail.com> writes:
>
>> foo.scm:
>> (define-library (foo)
>> (import
>> (scheme base)
>> (ice-9 regex))
>> (export bar)
>>
>> (begin
>> (define (bar)
>> (make-regexp "a"))))
>
> The issue AFAIU is that make-regexp is part of (guile), and not exported
> by (ice-9 regex). You would need to add (only (guile) make-regexp) to
> your import set. I know it's somewhat terrible but perhaps in the near
> future we will be able to replace this regexp support with something
> more consistent.
>
> Please reopen if I misunderstood the bug.
>
> Cheers,
>
> Andy
>
>
>
prev parent reply other threads:[~2021-05-02 15:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 7:06 bug#47538: ice-9 regex procedures not found when trying to use from r7rs-style defined library Arvydas Silanskas
2021-05-02 13:50 ` Andy Wingo
2021-05-02 15:32 ` lloda [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=00A24302-EA31-4001-B61E-92E4EA449D00@sarc.name \
--to=lloda@sarc.name \
--cc=47538@debbugs.gnu.org \
--cc=nma.arvydas.silanskas@gmail.com \
--cc=wingo@igalia.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).