Subject: Re: bug#78650: Guile 3.0.10: regexp-compile not exported by (ice-9 regex) module

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 03 Jun 2025 20:03:33 +0900

Hi,

Tomas Volf <[email-masked]> writes:

> Shalok Shalom via "Bug reports for GUILE, GNU's Ubiquitous Extension
> Language" <[email-masked]> 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