From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1glfKL-0003ht-7m for mharc-gwl-devel@gnu.org; Mon, 21 Jan 2019 14:33:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glfKH-0003gD-6x for gwl-devel@gnu.org; Mon, 21 Jan 2019 14:33:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glfKG-0001Xf-80 for gwl-devel@gnu.org; Mon, 21 Jan 2019 14:33:41 -0500 Received: from sender-of-o53.zoho.com ([135.84.80.218]:21763) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glfKF-0001U4-LC for gwl-devel@gnu.org; Mon, 21 Jan 2019 14:33:40 -0500 References: <87bm4df2ld.fsf@elephly.net> <878szgg9bi.fsf@elephly.net> <878szedo1c.fsf@elephly.net> From: Ricardo Wurmus In-reply-to: <878szedo1c.fsf@elephly.net> Date: Mon, 21 Jan 2019 20:33:27 +0100 Message-ID: <8736plerg8.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: =?UTF-8?B?UmU6IG1lcmdpbmcg4oCccHJvY2Vzc2Vz4oCdIGFuZCDigJxyZXN0?= =?UTF-8?B?cmljdGlvbnPigJ0=?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zimoun Cc: gwl-devel@gnu.org Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> We need a procedure that takes any number of processes as inputs and >> matches inputs with outputs to generate an adjacency list of processes. >> This shouldn=E2=80=99t be difficult. > > This procedure is called =E2=80=9Cconnect=E2=80=9D and it is now availabl= e. With > connect and well-specified inputs and outputs one can now do this: > > (workflow > (name "pipeline") > (processes > (connect compress-files create-files move-archives))) > > All of these processes declare inputs and outputs and the correct > adjacency list is produced by =E2=80=9Cconnect=E2=80=9D by matching them = up. Eh, I just noticed that =E2=80=9Cconnect=E2=80=9D is a Guile core binding. = To avoid shadowing a potentially useful feature we better find a new short name for =E2=80=9Cconnect=E2=80=9D. How about =E2=80=9Clink=E2=80=9D? -- Ricardo