[Top][All Lists]

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

Re: Error with guile function format

From: Ricardo Wurmus
Subject: Re: Error with guile function format
Date: Fri, 12 Mar 2021 19:23:45 +0100
User-agent: mu4e 1.4.14; emacs 27.1


> (cut format "quake3-latest-pk3s/baseq3/pak~a.pk3" <>)

this is not correct.

“format” expects as its first argument a port or #true/#false, then it
takes the format string followed by values for each placeholder.

If you want to generate strings you should do

    (cut format #false "quake3-latest-pk3s/baseq3/pak~a.pk3" <>)


reply via email to

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