From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2NKaHklLW2fmhAEAe85BDQ:P1 (envelope-from ) for ; Thu, 12 Dec 2024 20:44:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2NKaHklLW2fmhAEAe85BDQ (envelope-from ) for ; Thu, 12 Dec 2024 21:44:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=MGJtumdM; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734036297; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wD3i2xIhvqm6RdnmjnmtBjqBQmZQ5f9C/GsgjiPlUHQ=; b=KMEth90p6x1krG3nGyBETSiqQINOYq3wUf/5nvX8eY+rbth6dfF8xWGcJJgQ6W7sjHokrW P2oVFuC50NoB6YU6dy/TjN8Lbx1U693lZW1Wg4xS2oIfJDzfXNdc6tLQKB5rFVDq9AFgd9 eGCpoxKc77bLtSk3nNZ+lEBchnWk1JVLZQKJHx7BTXu1LkxlsDH9g8uC4fqcyos29ulTUp eGMqd90pNLIqDiHoBN/kcGw6Xxal1/+Ab04sFt9ybzuqRAZzrtnzfVd5Llb2aeO+bPqnWo Z4QsewMukiJ9Yvz7ghkv7owEeYtC+tA6cqTIVKqdN9aW5YaRRnGvGYHSIoCfqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=MGJtumdM; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734036297; a=rsa-sha256; cv=none; b=GgZGq+O+ecqK0OKZIbVGHc2lAnndJP8wyahA5dy7uU4WcYHKv4JBKsLI0mfwjHvvlWMHIk 3fqCFrkBoEJxUOhrKm6HtlJ+DyajaT+UxLXvqlRg8DIN8eyUSX0VasdK1AxD2SWITfL5kZ zdyUBJ4lXFOKffmZFdnDwjbqzwEaivsPy/azneqCcPl7br1AO10CrqhAy+x2M+Bt88pmkY 2Iv4W78G1DLn3w3uE4QSfkRGJxE+jLI+aG55Uf4jQvUi63+WLoQcT8Hczpp+FJNHnnPAZR HcDxNTCYCKKIdEab1Jsq1bqzPUe4YApdRyYwqf99nTUytAHlHcL5y5VPI9g71w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 42FE17C3B9 for ; Thu, 12 Dec 2024 21:44:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLq2h-0002y6-TS; Thu, 12 Dec 2024 15:44:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLq2f-0002xX-Qi for help-guix@gnu.org; Thu, 12 Dec 2024 15:44:13 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tLq2c-00007E-KK for help-guix@gnu.org; Thu, 12 Dec 2024 15:44:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Ll4leE9MKPQAcfj uuSkCza31qaFFr341wS4vgLfLsxg=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=MGJtumdMX6K3MHAkx9OFFTfCWorDygItxBA1JrhL Y7sFPEJzL6QCkWpkuNo6N3uoP+9bN0UXTvbtA1f8nc+gW7u8Roupj31Wn1ZHXqvmMS4tbY SKUDRiQEfGoayNxi+O+goH4HcCSYQOdV0WOjhGrFo6a3AvWOBChflBCquhHR8= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id ba525ada (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 12 Dec 2024 20:44:04 +0000 (UTC) To: Marc Coquand Cc: help-guix@gnu.org Subject: Re: With imported functions instead of module? In-Reply-To: <87msh0nbv0.fsf@coquand.email> (Marc Coquand's message of "Thu, 12 Dec 2024 17:45:55 +0200") References: <87msh0nbv0.fsf@coquand.email> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Thu, 12 Dec 2024 12:44:04 -0800 Message-ID: <87jzc4ljhn.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 0.83 X-Spam-Score: 0.83 X-Migadu-Queue-Id: 42FE17C3B9 X-TUID: MtgDeyTs5Gdl Hi Marc, On Thu, Dec 12 2024, Marc Coquand wrote: > I'm looking for is an easier way of importing procedures within > G-expressions. I'm not sure that's possible because the G-exp could, in the most generalized case, run on another piece of equipment. > I'm wondering if there is a way to call my-procedure without moving the > definition to a separate module You could 'define' your procedure inside the G-exp, although that may not be what you want. You may also be able to use 'load' on a store item (think 'plain-file' and friends). Those are automatically copied to the build side. Kind regards Felix