guix-devel
[Top][All Lists]
Advanced

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

Re: How to Write Empty File in Build Phase?


From: Tobias Geerinckx-Rice
Subject: Re: How to Write Empty File in Build Phase?
Date: Sat, 28 Aug 2021 16:07:34 +0200

Hi Antwane,

(with-output-to-file "__init__.py"
 (lambda () (newline))

=>

  (with-output-to-file "__init__.py"
    newline)

Untested, but NEWLINE taking #:optional arguments should not make it any less of a thunk.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.



reply via email to

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