From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: (guix modules) and =?utf-8?Q?=E2=80=98source-module-closure?= =?utf-8?Q?=E2=80=99?= Date: Mon, 05 Sep 2016 12:05:19 +0200 Message-ID: <87eg4yzmow.fsf@igalia.com> References: <8760qbi9qu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgqn1-0006sA-Ly for guix-devel@gnu.org; Mon, 05 Sep 2016 06:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgqmx-0006AW-Fm for guix-devel@gnu.org; Mon, 05 Sep 2016 06:06:07 -0400 In-Reply-To: (Ricardo Wurmus's message of "Mon, 5 Sep 2016 10:13:27 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel On Mon 05 Sep 2016 10:13, Ricardo Wurmus writes: > Ah, very nice! > > Why is it necessary to read the file and parse the define-module > expression? Does Guile not keep any of this information? Should it? > Will something like this become part of Guile eventually? If you have the module loaded, there is "live-module-closure" which uses the information Guile has at run-time. I guess Ludovic wanted to get this information without loading the module, for some reason :) Andy