help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error with guile function format


From: edk
Subject: Error with guile function format
Date: Fri, 12 Mar 2021 17:53:27 +0100
User-agent: mu4e 1.4.15; emacs 27.1

Dear Guixers,

In a channel-that-should-not-be-named, there is the following snippet

           (apply invoke "7z" "e" (assoc-ref %build-inputs "patch-data")
                  (map (cut format "quake3-latest-pk3s/baseq3/pak~a.pk3" <>)
                       (iota 8 1)))

Which, as far as my limited knowledge of Guile goes, is correct.

Yet the build fail with the following error message:

In ice-9/format.scm:
     43:8  0 (format "quake3-latest-pk3s/baseq3/pak~a.pk3" 1)

ice-9/format.scm:43:8: In procedure format:
format: expected a string for format string 1


The first argument to format is a string, so I don't understand the
fuss.

Any idea would be welcome :)

Thanks !

Edouard.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]