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>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#78650: closed (Guile 3.0.10: regexp-compile not exported by
 (ice-9 regex) module)
Date: Tue, 03 Jun 2025 11:04:06 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 03 Jun 2025 20:03:33 +0900
with message-id <874iwxaxyy.fsf <at> gmail.com>
and subject line Re: bug#78650: Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module
has caused the debbugs.gnu.org bug report #78650,
regarding Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
78650: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78650
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
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.