From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: dsmich@roadrunner.com Newsgroups: gmane.lisp.guile.devel Subject: %module-public-interface Date: Wed, 15 Jan 2020 06:50:25 +0000 Message-ID: <4a6a0ab5076a16ce7ee7d099f6525b4341d2dc54@webmail> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_c72d55eab6d15dfbfe1441fc84bab5f7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="15489"; mail-complaints-to="usenet@blaine.gmane.org" To: "'guile-devel@gnu.org'" Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Jan 15 07:50:41 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ircVk-0003nX-V6 for guile-devel@m.gmane-mx.org; Wed, 15 Jan 2020 07:50:41 +0100 Original-Received: from localhost ([::1]:50252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ircVj-0007iN-92 for guile-devel@m.gmane-mx.org; Wed, 15 Jan 2020 01:50:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ircVZ-0007i9-6Q for guile-devel@gnu.org; Wed, 15 Jan 2020 01:50:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ircVY-0006gs-3H for guile-devel@gnu.org; Wed, 15 Jan 2020 01:50:28 -0500 Original-Received: from p-impout009aa.msg.pkvw.co.charter.net ([47.43.26.140]:39214 helo=p-impout001.msg.pkvw.co.charter.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ircVX-0006eR-Uc for guile-devel@gnu.org; Wed, 15 Jan 2020 01:50:28 -0500 Original-Received: from localhost ([52.86.171.38]) by cmsmtp with ESMTP id rcVViT9PLHRLqrcVViJZbe; Wed, 15 Jan 2020 06:50:25 +0000 X-Authority-Analysis: v=2.3 cv=EY62v8uC c=1 sm=1 tr=0 a=KRKCKI1VKQ4u2uwitZ6MRA==:117 a=KRKCKI1VKQ4u2uwitZ6MRA==:17 a=dSg6v7tjMxUA:10 a=1hkZ8NBMsqfr3IanrvUA:9 a=QEXdDO2ut3YA:10 a=btsuXWsiXq7OiEkwZYAA:9 a=haKPiCpYPd7JtTgn:21 a=_W_S_7VecoQA:10 X-Mailer: Atmail X-Originating-IP: [65.185.85.154] X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-CMAE-Envelope: MS4wfAsNpaHYgCIjFHqLkADVCPHAPMGC9NGQHM8TrKjOC2pCBC/drqbFfYhIq9LDOXf9Vuh4NTuM1Vr8hfXuNEQjFNgJt4iw8syPjBIMOwZFJBVGKsIC50fO YitA2ecQNrJWM/wmLCAXkiLml8gjL5C/3Y1Jxw4yIccCAIZfvWF0Sghf X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 47.43.26.140 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:20281 Archived-At: --=_c72d55eab6d15dfbfe1441fc84bab5f7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable (Sorry for the non-plain-test formatting, haven't the new mailer=0Ainter= face from Spectrum yet. Ugh.)=0A=0A=09I'm porting some old code to 3.0 a= nd I've come across this:=0A=0A=09(define-module (bobotpp bot))=0A=0A=09= (set-module-uses! %module-public-interface=0A=0A=09 (list (module-ref (r= esolve-module '(guile-user) #f)=0A=0A=09 'the-bot-module)))=0A=0A=09What= is the 3.0 equivalent? I'm not sure what the above is trying to=0Ado.= =0A=0A=09Thanks,=0A=0A=09 -Dale=0A=0A=09What s --=_c72d55eab6d15dfbfe1441fc84bab5f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable (Sorry for the non-plain-test form= atting, haven't the new mailer interface from Spectrum yet.  Ugh.)<= /font>

I'm porting some old code to 3.0 and= I've come across this:


(define-module (bobotpp bot))

<= p>(set-module-uses! %module-public-interface

         =         (list (module-ref (resolve-module '(guile-u= ser) #f)

      &nb= sp;                    = ;         'the-bot-module)))

What is the 3.0 equivalent?   I'm not sure wha= t the above is trying to do.


=

Thanks,

   -Dale


What s

--=_c72d55eab6d15dfbfe1441fc84bab5f7--