guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: %module-public-interface


From: Andy Wingo
Subject: Re: %module-public-interface
Date: Wed, 15 Jan 2020 20:59:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Wed 15 Jan 2020 07:50, address@hidden writes:

> I'm porting some old code to 3.0 and I've come across this:
>
> (define-module (bobotpp bot))
>
> (set-module-uses! %module-public-interface
>
>                   (list (module-ref (resolve-module '(guile-user) #f)
>
>                                     'the-bot-module)))
>
> What is the 3.0 equivalent?   I'm not sure what the above is trying to do.

As mentioned in IRC, (module-public-interface (current-module)).  (This
change was part of 2.0.)

Cheers,

Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]