GNU bug report logs - #78650
Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module

Previous Next

Package: guile;

Reported by: Shalok Shalom <shalokshalom <at> protonmail.ch>

Date: Fri, 30 May 2025 23:55:06 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

To reply to this bug, email your comments to 78650 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#78650; Package guile. (Fri, 30 May 2025 23:55:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shalok Shalom <shalokshalom <at> protonmail.ch>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Fri, 30 May 2025 23:55:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shalok Shalom <shalokshalom <at> protonmail.ch>
To: "bug-guile <at> gnu.org" <bug-guile <at> gnu.org>
Subject: Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module
Date: Fri, 30 May 2025 20:03:01 +0000
[Message part 1 (text/plain, inline)]
In the Guile 3.0.10 package provided by this distribution, the standard procedure regexp-compile is not exported by the (ice-9 regex) module.
This causes an "Unbound variable: regexp-compile" error when attempting to use this procedure after loading the module with (use-modules (ice-9 regex)).

I am using the Arch Linux distribution, and it does seem to leave the package alone.
Did you deprecate the procedure, or something?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#78650; Package guile. (Sun, 01 Jun 2025 20:09:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: Shalok Shalom via "Bug reports for GUILE, GNU's Ubiquitous Extension
 Language" <bug-guile <at> gnu.org>
Cc: Shalok Shalom <shalokshalom <at> protonmail.ch>, 78650 <at> debbugs.gnu.org
Subject: Re: bug#78650: Guile 3.0.10: regexp-compile not exported by (ice-9
 regex) module
Date: Sun, 01 Jun 2025 22:08:29 +0200
Shalok Shalom via "Bug reports for GUILE, GNU's Ubiquitous Extension
Language" <bug-guile <at> gnu.org> writes:

> In the Guile 3.0.10 package provided by this distribution, the standard procedure regexp-compile is not exported by the (ice-9 regex) module.
> This causes an "Unbound variable: regexp-compile" error when attempting to use this procedure after loading the module with (use-modules (ice-9 regex)).
>
> I am using the Arch Linux distribution, and it does seem to leave the package alone.
> Did you deprecate the procedure, or something?

Was this procedure ever available?  Looking into git history gives
nothing useful.  Why do you believe it should exist?  There is
`make-regexp', maybe you want to use that one.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Information forwarded to bug-guile <at> gnu.org:
bug#78650; Package guile. (Sun, 01 Jun 2025 20:09:02 GMT) Full text and rfc822 format available.

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 03 Jun 2025 11:04:06 GMT) Full text and rfc822 format available.

Notification sent to Shalok Shalom <shalokshalom <at> protonmail.ch>:
bug acknowledged by developer. (Tue, 03 Jun 2025 11:04:07 GMT) Full text and rfc822 format available.

Message #16 received at 78650-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Tomas Volf <~@wolfsden.cz>
Cc: shalokshalom <at> protonmail.ch, 78650-done <at> debbugs.gnu.org
Subject: Re: bug#78650: Guile 3.0.10: regexp-compile not exported by (ice-9
 regex) module
Date: Tue, 03 Jun 2025 20:03:33 +0900
Hi,

Tomas Volf <~@wolfsden.cz> writes:

> Shalok Shalom via "Bug reports for GUILE, GNU's Ubiquitous Extension
> Language" <bug-guile <at> gnu.org> writes:
>
>> In the Guile 3.0.10 package provided by this distribution, the
>> standard procedure regexp-compile is not exported by the (ice-9
>> regex) module.
>> This causes an "Unbound variable: regexp-compile" error when
>> attempting to use this procedure after loading the module with
>> (use-modules (ice-9 regex)).
>>
>> I am using the Arch Linux distribution, and it does seem to leave the package alone.
>> Did you deprecate the procedure, or something?
>
> Was this procedure ever available?  Looking into git history gives
> nothing useful.  Why do you believe it should exist?  There is
> `make-regexp', maybe you want to use that one.

regexp-compile is not part of the standard Guile API, as far as I
know. It's not documented, and not exported from (ice-9 regex).  Maybe
Arch Linux does something extra to provide it?  Or maybe you are using
Racket there instead of Guile?

Closing.

-- 
Thanks,
Maxim




This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.