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 IMiEM8y/d2Oo0gAAbAwnHQ (envelope-from ) for ; Fri, 18 Nov 2022 18:24:28 +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 gCRzM8y/d2PvFAEA9RJhRA (envelope-from ) for ; Fri, 18 Nov 2022 18:24:28 +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 483081A76B for ; Fri, 18 Nov 2022 18:24:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow55y-0008E4-Dh; Fri, 18 Nov 2022 12:24:06 -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 1ow55v-0008DZ-Hv for guix-patches@gnu.org; Fri, 18 Nov 2022 12:24:04 -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 1ow55u-00087i-M3 for guix-patches@gnu.org; Fri, 18 Nov 2022 12:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ow55u-00024Q-H9 for guix-patches@gnu.org; Fri, 18 Nov 2022 12:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#58660] [PATCH v2 2/3] etc: teams: Sort and itemize 'scope' field. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Nov 2022 17:24:02 +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: zimoun Cc: 58660@debbugs.gnu.org Received: via spool by 58660-submit@debbugs.gnu.org id=B58660.16687922337944 (code B ref 58660); Fri, 18 Nov 2022 17:24:02 +0000 Received: (at 58660) by debbugs.gnu.org; 18 Nov 2022 17:23:53 +0000 Received: from localhost ([127.0.0.1]:38166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow55l-000243-Il for submit@debbugs.gnu.org; Fri, 18 Nov 2022 12:23:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ow55j-00023r-P5 for 58660@debbugs.gnu.org; Fri, 18 Nov 2022 12:23:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow55e-00086x-Hh; Fri, 18 Nov 2022 12:23:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=LxqJnxxzB4MkJXWBR9qRTaDiaGvl+cQ1vcDr1lFr7+Y=; b=T9uP8B0Qt+VLwirwWPx6 4NVQxESFyHxqG6lR7cwXHsA5svQpLDYdbLyqshMQWFig8k1KRQXj/UUzGudfzdYbJhvmesjlfpBFB ZPk9GSzaLVGEDkt3K6vAA0Lt2gSb59HSmBzicqrI1reDb0wCvtZ+uVES4COIAhCS1trH+0uj1pmkV Upv2ZTPb6fyCf/HTVmZXBgtOCnfpKqIdYf5YbBzM/LmltFYf/6pmvqLZofY2c2AKDz4NuVCg+fMCY Be5yWNX6ZH3yo4VJTiNxx7c8JlJXwiS0ir5+q96dRTrZlAOOU1VCVyiC5wAwa0xL6eNAqg006/QaG i6kAYiuitOT4sQ==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775] helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow55d-0007LM-Pl; Fri, 18 Nov 2022 12:23:46 -0500 From: Mathieu Othacehe References: <20221117202820.2054593-1-zimon.toutoune@gmail.com> <20221117202820.2054593-2-zimon.toutoune@gmail.com> Date: Fri, 18 Nov 2022 18:23:40 +0100 In-Reply-To: <20221117202820.2054593-2-zimon.toutoune@gmail.com> (zimoun's message of "Thu, 17 Nov 2022 21:28:19 +0100") Message-ID: <87fsegfa77.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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=1668792268; 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=LxqJnxxzB4MkJXWBR9qRTaDiaGvl+cQ1vcDr1lFr7+Y=; b=eOAHMdQDIDw0BH2xozWYx/J4f+lVTOKP+JHgc6AIdymwBwbqZm8+imkKiD2H1qpy9XnMsR Do466trJ6AITH6EAKgqkG8yfceQH7+5o77AastZMRgctcjUp0DH6SO3dC1H2s3jwZjP1yL w7QB2D9bO8fiR6+2BS4KItI6HXXHZIspWTH6Q7df3L0cWKYe412d/E4Y8FiwPOODGWOncc VHCgZ3ZW/oSuUoSXDtRY5iQO5b9PmwLeufecxDW/Y4QFqRZraxAs3iaAiosU4q4qIUK9/a ZQrZdLHHF0c8dcArUxzJhDIL25aBDVDeCJKLId6s7tL4owatHrox1l0U59FNrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668792268; a=rsa-sha256; cv=none; b=ff9F0qyo6CXobF/kgSHC1v+DSS3AfCJZ+z9+Tl8rx0xpKjswhH5J1zf3BplECRWpKMtmOR FprqG1Fv+N/iy2uEdaUw4JxTAwrkQwJ3fhCI5yt6OAT5pG4XoR2dTfPFIIUGQDnmzAw543 RWJWzu5x6eG0Av57TVKfwBqH0f8KO0Ga0KgIiNL1P7yAt1u9hy1vA3HXEPIYOEDo3Jeyv+ RUj1tFXNdfQebYyhMB6R2RDpHEQDE9LsoR5X80lmOPO/3OkoxFr/3PLUFj43hKblbebuC2 97yuAMTAh/nrj+1HUyJD0p8ga8VyzagELw2oTfh34eGgufpfON/mVv7h/OxqeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=T9uP8B0Q; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.22 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=T9uP8B0Q; dmarc=pass (policy=none) header.from=gnu.org; 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: 483081A76B X-Spam-Score: -3.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: bI+Ta3Gk47ad Hello, > + (scope-files > + (fold > + (lambda (str fmt) > + (string-append fmt str)) > + (format #f "scope:~%") > + (sort > + (map (lambda (scope) (format #f "+ ~a~%" scope)) scope-files) Why not: (scope (format #f "scope:~%~{+ ~s ~}~%" scope)) > + string<=?))))) At that point, scope is not always a string: --8<---------------cut here---------------start------------->8--- ERROR: In procedure string<=?: In procedure string<=: Wrong type argument in position 1 (expecting string): # --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu