Hmm, Well essentially what I'm looking for is an easier way of importing procedures within G-expressions.
So basically if I have (define (my-procedure args) ...) (define notify-mail-gexp (with-imported-modules '((guix build utils) ...) #~(begin (my-procedure))) I'm wondering if there is a way to call my-procedure without moving the definition to a separate module and importing that module in the "with-imported-modules" -- Marc On Thu, Dec 12 2024, Felix Lechner wrote: > Hi Marc, > > On Thu, Dec 12 2024, Marc Coquand wrote: > >> Is there a way to import functions instead of entire modules? > > Are you looking for something more than the selective import of module > bindings via '@'? [1] > > Kind regards > Felix > > P.S. In Guile, the preferred term for functions may be procedures. > > [1] > https://www.gnu.org/software/guile/manual/html_node/Using-Guile-Modules.html#index-_0040