[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error with guile function format
From: |
divoplade |
Subject: |
Re: Error with guile function format |
Date: |
Fri, 12 Mar 2021 18:40:57 +0100 |
User-agent: |
Evolution 3.34.2 |
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!