From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Add helper for .desktop file creation? Date: Sat, 25 May 2019 20:37:45 +0200 Message-ID: <8736l2nzwm.fsf@ambrevar.xyz> References: <878suwz3tg.fsf@ambrevar.xyz> <87d0k67n7n.fsf@nicolasgoaziou.fr> <878suu7mhk.fsf@nicolasgoaziou.fr> <87r28mofxd.fsf@ambrevar.xyz> <87r28m64m5.fsf@nicolasgoaziou.fr> <87o93qobso.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:35065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUbj8-0005jh-DY for guix-devel@gnu.org; Sat, 25 May 2019 14:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUbYD-0003oF-Au for guix-devel@gnu.org; Sat, 25 May 2019 14:37:50 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:56841) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUbYD-0003nP-45 for guix-devel@gnu.org; Sat, 25 May 2019 14:37:49 -0400 In-Reply-To: <87o93qobso.fsf@ambrevar.xyz> 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: Nicolas Goaziou Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Just thought of maybe the best of both approaches: use a #:rest argument to iterate over all keys. This way we don't allow unspecified keys (no risk for typos) and the code of the function remains lean. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzpi3kACgkQm9z0l6S7 zH+nHQgAp1AIwI7W6I9mDu9SncFc0Pb7bZouadqvl3UZo107ySjD4k4JXPmcImNt 8/4cdwN0wBu0UaBHnnswE0WhUFa4wMQ1dER0RXUdMzn2bTnC6iC5xseLcadTgf3p 3qfYGE6sG73CxdRATCHBvKY8PuXdh7jYTqptV+0y2wte5fwL0uHdQDKpSRsuSiSk MJXgxjAg6C3E59vwlxwMCd4i/t8OYnZCWCGGTVnwn5FkiY9Opt7ESXiZupL/0zqp yjhi9s+6dR9CXIw0ysE9yyXFvsbeSf/TTZpDB69WU+LsbbIwCCO8Z81U6SgZN+9I yRAXKT46FCmdEalG06AJhSOxKom1Pg== =/bre -----END PGP SIGNATURE----- --=-=-=--