From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eKiYGSChe2MqNQEAbAwnHQ (envelope-from ) for ; Mon, 21 Nov 2022 17:02:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MNKTGSChe2NMqAAA9RJhRA (envelope-from ) for ; Mon, 21 Nov 2022 17:02:40 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A56F62A0AC for ; Mon, 21 Nov 2022 17:02:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ox9FM-0005KD-Bj; Mon, 21 Nov 2022 11:02:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ox9FE-0005JX-G7 for guix-patches@gnu.org; Mon, 21 Nov 2022 11:02:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ox9FC-0004ow-CV for guix-patches@gnu.org; Mon, 21 Nov 2022 11:02:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ox9FC-0003o8-0j for guix-patches@gnu.org; Mon, 21 Nov 2022 11:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58660] [PATCH v2 1/3] etc: teams: Add 'show' subcommand. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Nov 2022 16:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58660 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 58660@debbugs.gnu.org Received: via spool by 58660-submit@debbugs.gnu.org id=B58660.166904646214545 (code B ref 58660); Mon, 21 Nov 2022 16:02:01 +0000 Received: (at 58660) by debbugs.gnu.org; 21 Nov 2022 16:01:02 +0000 Received: from localhost ([127.0.0.1]:48555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox9EE-0003mX-9t for submit@debbugs.gnu.org; Mon, 21 Nov 2022 11:01:02 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:44655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ox9EC-0003lu-Rv for 58660@debbugs.gnu.org; Mon, 21 Nov 2022 11:01:01 -0500 Received: by mail-wm1-f50.google.com with SMTP id j5-20020a05600c410500b003cfa9c0ea76so9341509wmi.3 for <58660@debbugs.gnu.org>; Mon, 21 Nov 2022 08:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ca0C6/MBOPO6mzzemcqmNRPTIMUa5KDLWor0nNbk3+0=; b=jHvnlzRMx/FlVxZ5C+K6LyfG2vpa9rUKInkGpf4iKTwH+81Q2BzjxlPARpxQfxoWQa DDyWcA0JbM2dvCiWzXegEknPHbab/vFXlxYoq56uvGxIyguxLpSloa6Pvpp9Gw/azkqo p90SQLdig8j2mdGRsJPVeEqKLT75n2PKd6p/2rCSC1jQ5sWJMpnd02dY/D5zdxdwgYjo 69ecutibPE/Aj96aaDT4LwPw2j2viKyXLxwfM/YswcIQ3tWpHeCPI7NWxC0paBPi2FwM ALbPLaglBFC3f0xbzr9Y2rbqSMkYjK4N/4wCE8dpsiLSu4lkw9use8YALwU0qxOIXCcK uDcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ca0C6/MBOPO6mzzemcqmNRPTIMUa5KDLWor0nNbk3+0=; b=Vz2ZrHv/i9M4gYw+xILGHvhh1HhlWD1xSN8ih4R018SEJJy1qzBz85U3RjE3kuV8Rn BoTxo9uAQOZSELzozAjhQU6vbz9mrBCAEiwrCtPGRbKqQyn3seDqwC35EnlaVUXDgM4J X5GhxydmrROy1CGSORFr4cc/v3jlLHXsfflYjBXzBt6IywhCTdygFhaKl64MaCsnEl6Y qYpxG7C/JIfBbHjkO0QGZDo4ynTm2VRD0sl5hlti/ZZPPj9tJ+qaHOZ68uhD8GwJ49Dr scM7thmlse3Py3z/JMBIF+aLuIgH0APe6jf+KPjo0fbevzdwvIQERNbI7VZYo5PPyfpr Z+TQ== X-Gm-Message-State: ANoB5plOegCW0Z+BInfIX3BZtgm9mOXKdMm/YlvH7OF+5GgjGfYb+Ns0 zE5DaGPx1plhPWKKio7/IH753tLKktQ= X-Google-Smtp-Source: AA0mqf4D4GUZ93jXNJ+RydxFAoDLpOhGttyIETM4RMGM7geQB1zgYuWZZRb600F/jtOOdGVUnmYU0g== X-Received: by 2002:a05:600c:3b04:b0:3cf:6fd8:95a4 with SMTP id m4-20020a05600c3b0400b003cf6fd895a4mr13160466wms.73.1669046454794; Mon, 21 Nov 2022 08:00:54 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id f3-20020a5d4dc3000000b0022e57e66824sm13247179wru.99.2022.11.21.08.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Nov 2022 08:00:54 -0800 (PST) From: zimoun In-Reply-To: <87bkp4f9wx.fsf@gnu.org> References: <20221117202820.2054593-1-zimon.toutoune@gmail.com> <87bkp4f9wx.fsf@gnu.org> Date: Mon, 21 Nov 2022 17:00:52 +0100 Message-ID: <87h6yswb4b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669046544; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ca0C6/MBOPO6mzzemcqmNRPTIMUa5KDLWor0nNbk3+0=; b=mNdch5is1xgYtJ9u6TZHzz5K2jekOg0xzPZEbiDrPrl54q1pT+LeiJqlFzN6JIatqHjkKh 223x5zywdlhM/EliNN8xKmA+zdjnWevT8WKffQ3HzyozbqMNTnwf8cGgCjwqbwHpoH8QOn wxzvWi7w1pDp0DdqfeosD60TPWd2Ym45vdlwTE5dx5mUNEcRaUydwV8hi+fBvWYMuitFM+ K5/WwguFumSEQiFMWuybVXc/NVdmLT89fbD+gWXeWkVy8hHOJMihskWOTXT4MmjA/9pocd bq6/PEsP8lnqKpiB85Lx9XOBODDI7CB8lgaPwo4nUnzCdJ9HsEbUKDLZfzMoCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669046544; a=rsa-sha256; cv=none; b=GoNOfQMyN1G7i6JFdSnQAdFLNxdknuvq6rxZkp8KHTYuHcR4CIj5xLVv6++ugwFzB6/sDS MzOy2KG2KwIeq3dMyXk7BPmutTdMrvfYTJuIw94f/QulDK1iMtnSvgesN01PukLwdoHAW1 qWayr9KOkGNeGss49vLC6r55vyRYHwxkMOiu37rN5I2mWG0vdJ8Ew9R26nya0FR13P3p9n wno4vg+c1QoDDlDsdiyxU/nPuZ1nxlVuAHgwAzNWOuFYVM2Ic3yB80YNpjepWLVbkJwTvM Asqds2sjXs61dIV8/6nAv35+vzO/rlpgN3p4I53UGCw3d3v9m9G6P2A2dnjqUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jHvnlzRM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jHvnlzRM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A56F62A0AC X-Spam-Score: 5.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: B4tgJZfrfsWr Hi Mathieu, On Fri, 18 Nov 2022 at 18:29, Mathieu Othacehe wrote: > This procedure is starting to get a little complex. We could put the > above is a sub-procedure called "print-team". I will try to revamp for a v3. >> + (sort >> + (hash-map->list (lambda (key value) value) %teams) >> + (lambda (team1 team2) >> + (stringstring (team-id team1)) >> + (symbol->string (team-id team2)))))))) > > That could be in a variable called %sorted-teams. This had been introduced by 18fb7c0f3078216bf4fc865d86b3be76ddc68414. Indeed, it could be extracted; part of the revamp. Cheers, simon