unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Antwane Mason <ad.mason1413@gmail.com>
Cc: muradm <mail@muradm.net>, guix-devel@gnu.org
Subject: Re: How to Write Empty File in Build Phase?
Date: Sat, 28 Aug 2021 16:07:34 +0200	[thread overview]
Message-ID: <f24951b7a62bf5a00ee677556873c16b@tobias.gr> (raw)
In-Reply-To: <CAAztfg+A+tNrQK_RmCLnAhuf0GA0_F1o=txFX3+ZWuv-PJYbyg@mail.gmail.com>

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	other threads:[~2021-08-28 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-27 16:44 How to Write Empty File in Build Phase? Antwane Mason
2021-08-27 17:39 ` muradm
2021-08-28 12:40   ` Antwane Mason
2021-08-28 14:07     ` Tobias Geerinckx-Rice [this message]
2021-08-29 12:48       ` Antwane Mason

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=f24951b7a62bf5a00ee677556873c16b@tobias.gr \
    --to=me@tobias.gr \
    --cc=ad.mason1413@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@muradm.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).