From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Composing service definitions (and maybe fmt) Date: Tue, 19 Jan 2016 14:14:02 +0100 Message-ID: References: <87oacloy61.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLW76-0006CG-PU for guix-devel@gnu.org; Tue, 19 Jan 2016 08:14:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLW71-0007Ae-R8 for guix-devel@gnu.org; Tue, 19 Jan 2016 08:14:24 -0500 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:40919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLW71-00079g-Iu for guix-devel@gnu.org; Tue, 19 Jan 2016 08:14:19 -0500 In-Reply-To: <87oacloy61.fsf@dustycloud.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Christopher Allan Webber Cc: guix-devel@gnu.org Christopher Allan Webber writes: > (I've also thought that some sort of string reader similar to skribe's > [foo ,(bar)] string-quasiquoting may make things easier. Might even be > complimentary...) I like this idea. It seems unrealistic to me to have configuration file writers for each of the many ideosyncatic configuration file formats. I also don=E2=80=99t enjoy having to concatenate strings to generate config= uration files and I think that it would be useful if we had string-quasiquoting. But I think we need some example cases first. My experiences is coloured by concatenating strings for udev rules. That=E2=80=99s not nic= e, but I also would not want to have to learn a new Schemey way of expressing these rules =E2=80=94 especially when I just want to copy them with minim= al changes from documentation and don=E2=80=99t want to have to understand t= hem first. ~~ Ricardo