From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: proposal: with-file-writeable Date: Sat, 10 Feb 2018 22:50:04 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1143f89aafac9b0564e2a0c9" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekd26-0008JF-RR for guix-devel@gnu.org; Sat, 10 Feb 2018 16:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekd26-0008CI-2O for guix-devel@gnu.org; Sat, 10 Feb 2018 16:50:06 -0500 Received: from mail-it0-x235.google.com ([2607:f8b0:4001:c0b::235]:39729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekd25-0008Bp-SS for guix-devel@gnu.org; Sat, 10 Feb 2018 16:50:05 -0500 Received: by mail-it0-x235.google.com with SMTP id c80so2485993itb.4 for ; Sat, 10 Feb 2018 13:50:05 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel --001a1143f89aafac9b0564e2a0c9 Content-Type: text/plain; charset="UTF-8" the make-file-writeable function seems a bit too imperative to me, it would look better if we could have a with-file-writeable function, so that we can constrain the size effect, and more. Moreover if a file is read-only to start with, it might be a good idea to keep it that way anyways. WDYT? --001a1143f89aafac9b0564e2a0c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
the make-file-writeable function seems a bit too imperativ= e to me, it would look better if we could have a with-file-writeable functi= on, so that we can constrain the size effect, and more. Moreover if a file = is read-only to start with, it might be a good idea to keep it that way any= ways. WDYT?
--001a1143f89aafac9b0564e2a0c9--