From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: %module-public-interface Date: Wed, 15 Jan 2020 20:59:53 +0100 Message-ID: <87o8v4fq2u.fsf@pobox.com> References: <4a6a0ab5076a16ce7ee7d099f6525b4341d2dc54@webmail> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81818"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: "'guile-devel@gnu.org'" To: dsmich@roadrunner.com Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Jan 15 21:00:58 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iroqX-000L92-Qy for guile-devel@m.gmane-mx.org; Wed, 15 Jan 2020 21:00:57 +0100 Original-Received: from localhost ([::1]:60054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iroqW-0005Xk-Sr for guile-devel@m.gmane-mx.org; Wed, 15 Jan 2020 15:00:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41298) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iropo-0005Cj-7x for guile-devel@gnu.org; Wed, 15 Jan 2020 15:00:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iropk-0003Ob-Pc for guile-devel@gnu.org; Wed, 15 Jan 2020 15:00:12 -0500 Original-Received: from fanzine.igalia.com ([178.60.130.6]:38957) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iropk-0003NZ-Gi for guile-devel@gnu.org; Wed, 15 Jan 2020 15:00:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=VkAZM5htQDCdnXhH0U2YvaBoFS38Y0gVZQquc2IiH3I=; b=PlCdidOmXv+CW5AKkC1awUiYnTIUC2voSTo+PQRivlcjfYVvZqg1CnQzIWzlKTpf/7rRMibkCBT0gwpfHN9yvX7I6vaEIRkkGsUBVDtaImKKW0ntLeroxmR3jvPKKBOAhQOQcjETg/7VsqFy48EfY+PmT83OQqitxBcrb9IzAggmZmTG+LBdeZ6wK343TLZOwehHligz0gSxYkpTxc9dJzsBX+vrFoeiSqOrW6yCNlPON7W6QkFZVqtzZIsSqTIBCbzam+fYWL8kq/4vR2QEErmlJh/908uENc4Y3WxLA9k3G3ZL/Qm/B65YYYJmd7rqlStOQ3EE+EbVoAFsKlUgug==; Original-Received: from [88.123.12.110] (helo=sparrow) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1iropi-0002Td-In; Wed, 15 Jan 2020 21:00:06 +0100 In-Reply-To: <4a6a0ab5076a16ce7ee7d099f6525b4341d2dc54@webmail> (dsmich@roadrunner.com's message of "Wed, 15 Jan 2020 06:50:25 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 178.60.130.6 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.io gmane.lisp.guile.devel:20283 Archived-At: On Wed 15 Jan 2020 07:50, dsmich@roadrunner.com 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