help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: With imported functions instead of module?


From: Felix Lechner
Subject: Re: With imported functions instead of module?
Date: Thu, 12 Dec 2024 12:44:04 -0800
User-agent: mu4e 1.12.7; emacs 29.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]