From: Felix Lechner via <help-guix@gnu.org>
To: Marc Coquand <marc@coquand.email>
Cc: help-guix@gnu.org
Subject: Re: With imported functions instead of module?
Date: Thu, 12 Dec 2024 12:44:04 -0800 [thread overview]
Message-ID: <87jzc4ljhn.fsf@lease-up.com> (raw)
In-Reply-To: <87msh0nbv0.fsf@coquand.email> (Marc Coquand's message of "Thu, 12 Dec 2024 17:45:55 +0200")
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
next prev parent reply other threads:[~2024-12-12 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 10:52 With imported functions instead of module? Marc Coquand
2024-12-12 14:06 ` Felix Lechner via
2024-12-12 15:45 ` Marc Coquand
2024-12-12 20:44 ` Felix Lechner via [this message]
2024-12-13 12:08 ` Marc Coquand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87jzc4ljhn.fsf@lease-up.com \
--to=help-guix@gnu.org \
--cc=felix.lechner@lease-up.com \
--cc=marc@coquand.email \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).