From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42803) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfM8w-0004kc-OV for gwl-devel@gnu.org; Mon, 24 Jun 2019 06:24:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfM8v-0007J7-Ey for gwl-devel@gnu.org; Mon, 24 Jun 2019 06:24:10 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:37197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfM8v-0007HD-9R for gwl-devel@gnu.org; Mon, 24 Jun 2019 06:24:09 -0400 Received: by mail-qt1-x833.google.com with SMTP id y57so13881635qtk.4 for ; Mon, 24 Jun 2019 03:24:08 -0700 (PDT) MIME-Version: 1.0 References: <87k1dft711.fsf@elephly.net> In-Reply-To: <87k1dft711.fsf@elephly.net> From: zimoun Date: Mon, 24 Jun 2019 12:23:56 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: what colour should the bikeshed have? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+kyle=kyleam.com@gnu.org Sender: "gwl-devel" To: Ricardo Wurmus Cc: gwl-devel@gnu.org Hi, On Fri, 21 Jun 2019 at 15:14, Ricardo Wurmus wrote: > But even if we can=E2=80=99t do that, maybe we could just replace > the very long =E2=80=9Cprocedure=E2=80=9D with the much shorter =E2=80=9C= run=E2=80=9D: > > process: sleep > packages "coreutils" > run # bash { > echo "Sleeping..." > sleep 10 > } [...] > What do you think? Is it worth trying / doing? Nice ! Even, the keyword `run` seems more talkative than `procedure`. However, I am a bit lost. Does this process still work? process: sleep packages "coreutils" run '(begin (display "Sleeping...\n") (system* "sleep" "10")) For consistency, why not? run # guile { blah } And, is it better to declare explicitly "coreutils" as package input when using bash? Or implicitly? For example, if `run # python {}` is used then the package input is implicitly python. What do you think? All the best, simon