From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MKR8LHjO2GW+0QAAe85BDQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 17:57:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MKR8LHjO2GW+0QAAe85BDQ (envelope-from ) for ; Fri, 23 Feb 2024 17:57:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZyN0DU3C; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708707448; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=jE72jc8CNzz9m9Fcp3dz6S+FjFst2TTCXkUasSQYmuc=; b=QyusWVjMgzv0yFl8jms+/E1ElZPZ/BmMcsrJdaqTM/a4yCv4C4USrWFqf5OALSQFU0Zi+J 63Yxc17WloqSYyZaDKaVFub82Dd3BW23EO5MVMMFfXPtzIJjw6MkVwkxMnfzOf3h4tEOfH W0RC82lgeF9HN35FmxEJ0iyki0cRPnBaB9+qDsJnH5HV4El17rUqNdNlewnHE1n0OprXAV pV33M8BWRnC0MOQEprE/04KkX6cLjsMIC+RY1BcCcFFn8HYdVY7fBdZPLaATMmWv47ypfD xPt8+q35+MTBjr2AakbS1JqcLdDXGAQUUHGwn5CJzyYukwofkjVNhULeEY3k3g== 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=ZyN0DU3C; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708707448; a=rsa-sha256; cv=none; b=LZehsgSi8PfcsqZtQfwRsE6sFdCmfbEOEzlx7h6Y+BXKF1iOGp6uiHUGo/dQ7gQFjtp1YK MS2copUp6fAENv0SOAYq55KxbV6QuRXpUqRLa+laxmzn5DNTJSMGxtXTbRL/crwrQdVwWr BLEdbJY5h0+Sk0vpq8+hpfpsYqhp85O6RfsKetdT1eeXvlXhaCP5zZhEuzQRSj0BCQkksG 51OeFmI8k95m9mFRabNql/6vnE/fZVDCYJB5nCvE4iJP3QzzPumM0Mwg5nsZTl0cahBAS3 E3aAwq1EPcJ+JfxKmvcvn8gJWwxFrUyycZZOvaglR258psZNG8cs6MXaIg0HfQ== 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 8FE2E74BF8 for ; Fri, 23 Feb 2024 17:57:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdY9m-0004ff-Id; Fri, 23 Feb 2024 11:12:14 -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 1rdXtn-0002s6-1r for guix-patches@gnu.org; Fri, 23 Feb 2024 10:55:44 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdXtl-0008Uf-Q9; Fri, 23 Feb 2024 10:55:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdXu6-0002UE-Bm; Fri, 23 Feb 2024 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69328] [PATCH 01/12] lint: Switch to SRFI-71. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Fri, 23 Feb 2024 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69328@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 69328-submit@debbugs.gnu.org id=B69328.17087037319440 (code B ref 69328); Fri, 23 Feb 2024 15:56:02 +0000 Received: (at 69328) by debbugs.gnu.org; 23 Feb 2024 15:55:31 +0000 Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXtZ-0002S4-7Y for submit@debbugs.gnu.org; Fri, 23 Feb 2024 10:55:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdXnM-00021e-J1 for 69328@debbugs.gnu.org; Fri, 23 Feb 2024 10:49:06 -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 1rdXmt-000773-0K; Fri, 23 Feb 2024 10:48:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jE72jc8CNzz9m9Fcp3dz6S+FjFst2TTCXkUasSQYmuc=; b=ZyN0DU3CbErSf7ObEa8o 08RQZ6LH4OlFoTzXCD3Fab33C2Sxk/2B2SRr1DHOxgdOXi1cGng1FCb0Kb8oTriZuzRTe0euTDKGG OxkAd0hHXC5lkreObUaKUkP/wh1+c5CC3s9BIn9QfnZs9tAohT50THyXvnsbLxdji3tw52nMXmkmd yfM8GgrHLbXYHv376Z7JMEQ/6Vp7hd8w50N89dUqXe8kiDlCor+IN91lGg0vN38qK13NfT1RnOcXs GGRB0LOOUn4MK5rwtjlOeMa8hPLPamlKUmzTjxOf9hS8yqnZGXG2BWzGOzFeDezDbFBzphCjyCB+F irKI2W6Vy6bZ8g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 23 Feb 2024 16:48:05 +0100 Message-ID: <1b2244ba8d74755eac44e84b35f9867a8585784e.1708697539.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -0.81 X-Spam-Score: -0.81 X-Migadu-Queue-Id: 8FE2E74BF8 X-TUID: jqD0UzQultPn * guix/lint.scm: Switch from SRFI-11 to SRFI-71. Change-Id: I62e6cd304ad73570bd12bd67f7051566205596bb --- guix/lint.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index c95de85e69..84df171045 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -84,10 +84,10 @@ (define-module (guix lint) #:use-module (srfi srfi-1) #:use-module (srfi srfi-6) ;Unicode string ports #:use-module (srfi srfi-9) - #:use-module (srfi srfi-11) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) #:use-module (srfi srfi-35) + #:use-module (srfi srfi-71) #:use-module (ice-9 rdelim) #:export (check-description-style check-inputs-should-be-native @@ -823,8 +823,8 @@ (define* (probe-uri uri #:key timeout) ;; Return RESPONSE, unless the final response as we follow ;; redirects is not 200. (if location - (let-values (((status response2) - (loop location (cons location visited)))) + (let ((status response2 (loop location + (cons location visited)))) (case status ((http-response) (values 'http-response @@ -926,8 +926,7 @@ (define (tls-certificate-error-string args) (define (validate-uri uri package field) "Return #t if the given URI can be reached, otherwise return a warning for PACKAGE mentioning the FIELD." - (let-values (((status argument) - (probe-uri uri #:timeout 3))) ;wait at most 3 seconds + (let ((status argument (probe-uri uri #:timeout 3))) ;wait at most 3 seconds (case status ((http-response) (cond ((= 200 (response-code argument)) -- 2.41.0