From: divoplade <d@divoplade.fr>
To: edk@beaver-labs.com, help-guix@gnu.org
Subject: Re: Error with guile function format
Date: Fri, 12 Mar 2021 18:40:57 +0100 [thread overview]
Message-ID: <456d038ba386d3ed37eb3382009bcb0de713d2be.camel@divoplade.fr> (raw)
In-Reply-To: <87sg50nwjc.fsf@rdklein.fr>
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!
next prev parent reply other threads:[~2021-03-12 18:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 16:53 Error with guile function format edk
2021-03-12 17:27 ` JOULAUD François
2021-03-12 17:40 ` divoplade [this message]
2021-03-12 18:23 ` Ricardo Wurmus
2021-03-12 23:33 ` Edouard Klein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=456d038ba386d3ed37eb3382009bcb0de713d2be.camel@divoplade.fr \
--to=d@divoplade.fr \
--cc=edk@beaver-labs.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).