From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IJcAOYW3S2AsRQAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 18:48:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GIu5NIW3S2AdQQAAbx9fmQ (envelope-from ) for ; Fri, 12 Mar 2021 18:48:37 +0000 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 7ADDA15571 for ; Fri, 12 Mar 2021 19:48:37 +0100 (CET) Received: from localhost ([::1]:37288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKmpw-0004Ol-7J for larch@yhetil.org; Fri, 12 Mar 2021 13:48:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKlme-0005wb-E1 for help-guix@gnu.org; Fri, 12 Mar 2021 12:41:08 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:47609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKlmb-0007Nn-3E for help-guix@gnu.org; Fri, 12 Mar 2021 12:41:07 -0500 X-Originating-IP: 90.66.188.123 Received: from pruneau.home (lfbn-lyo-1-2020-123.w90-66.abo.wanadoo.fr [90.66.188.123]) (Authenticated sender: d@divoplade.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id B3A5D1C000C; Fri, 12 Mar 2021 17:40:58 +0000 (UTC) Message-ID: <456d038ba386d3ed37eb3382009bcb0de713d2be.camel@divoplade.fr> Subject: Re: Error with guile function format From: divoplade To: edk@beaver-labs.com, help-guix@gnu.org Date: Fri, 12 Mar 2021 18:40:57 +0100 In-Reply-To: <87sg50nwjc.fsf@rdklein.fr> References: <87sg50nwjc.fsf@rdklein.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.197; envelope-from=d@divoplade.fr; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615574917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=U5i0+dM+00GlDBNplBrHuNdFCmt9LfRrdDyO06GMhmI=; b=g9KVYHjA/vQ/bLQWVNhPDbvKzEZMaRDCpE6jjSDNIGwpp4+J6rBqUQKxTyeOa5O0o/Y7dz zKi8nbxcjYl/CjuEUuG727MZRSUeMKXdzQKeA2QBVmfsjvIQ8IOBqK72vX7CbO2S0xvAgL MRzTkgVYM4tvbRU8Ai6o8tcAhQoHidkvwXA2C8cJuphE7g4vCw7vAWgY+BzVIFx1nIPPHe MTNtZ3g4iXXQrAJkA039I1iFMKxGpghILbOjYu5jDLJ9xiBrH4i26MDyBB+0uZn977kiL6 Em4CKStok/ph8+5cnv2+7BCSfqAiBHwmNNnb2kczEYOHj+ehCx9WlleAFQj/hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615574917; a=rsa-sha256; cv=none; b=LwcpdsfhRR7YLYYKdJrxhJxYgthItz3XS4mZ6heuYhU4/fDxdCNdCbV43MevaVsOEPV0bi 1C9eqKdJM8A6w5VTIGl8AT9QpgqZPFnsj7d9X6MVrKGSnv15F21VjXNC4Pz2KuE2vK4z7+ phxgNmA4DfULsTjtNIeZLO/GsrMpEXcmzDL3AZYjasEvc9MVub2EIhO4qwiwloIpLVw1QL vXcc/FQ3mA2nOrv8GvKhadVWRZzTtlCdJksbpor6hWoVSGIhHNv6WRb98nAHQr7IZwx0dJ RM7vZHKRbwS2lz6g4+DKHBO40eD5qoXVX/COpKH7dQ7YqznYmEI0yTzOyPKFtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7ADDA15571 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: OdiOUW3cw80I Le vendredi 12 mars 2021 à 17:53 +0100, edk@beaver-labs.com a écrit : > (apply invoke "7z" "e" (assoc-ref %build-inputs "patch- > data") > (map (cut format "quake3-latest- > pk3s/baseq3/pak~a.pk3" <>) > (iota 8 1))) Hello Edouard, The first argument to format is the port where to write the formatted text to, or #f to return as a string. So you want to pass #f as the first argument to format, unless you use srfi-28, in which case you need to add (use-modules (srfi srfi-28)) https://www.gnu.org/software/guile/manual/guile.html#SRFI_002d28 Hope it helps you!