guix-patches
[Top][All Lists]
Advanced

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

[bug#49149] [PATCH 0/7] Add deb format for guix pack.


From: Maxim Cournoyer
Subject: [bug#49149] [PATCH 0/7] Add deb format for guix pack.
Date: Sat, 26 Jun 2021 01:03:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

[...]

> +(define-syntax-rule (define-with-source (variable args ...) body body* ...)
> +  "Bind VARIABLE to a procedure accepting ARGS defined as BODY, also setting
> +its source property."
> +  (begin
> +    (define (variable args ...)
> +      body)

Some typo slipped here.  It should have been body body* ..., as in the template.

> +    (eval-when (load eval)
> +      (set-procedure-property! variable 'source
> +                               '(define (variable args ...) body body* 
> ...)))))
> +

Thanks,

Maxim





reply via email to

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