unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Error with guile function format
@ 2021-03-12 16:53 edk
  2021-03-12 17:27 ` JOULAUD François
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: edk @ 2021-03-12 16:53 UTC (permalink / raw)
  To: help-guix

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-12 23:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-03-12 18:23 ` Ricardo Wurmus
2021-03-12 23:33 ` Edouard Klein

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).