guile-devel
[Top][All Lists]
Advanced

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

Re: %module-public-interface


From: dsmich
Subject: Re: %module-public-interface
Date: Fri, 17 Jan 2020 01:40:45 +0000


Thanks Andy!  Sneek is much happer now.

-Dale

-----------------------------------------

From: "Andy Wingo"
To: address@hidden
Cc: "guile-devel\@gnu.org"
Sent: Wednesday January 15 2020 2:59:53PM
Subject: Re: %module-public-interface

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]