guix-devel
[Top][All Lists]
Advanced

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

Re: The Shepherd on Fibers


From: Ludovic Courtès
Subject: Re: The Shepherd on Fibers
Date: Wed, 30 Mar 2022 17:14:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Maxime Devos <maximedevos@telenet.be> skribis:

>     (format #t "Accepted connection on ~0@*~a from ~1@*~a." "foo" "bar"))

Hmm that doesn’t seem to work:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(ice-9 format)
scheme@(guile-user)> (format #f "Accepted connection on ~@0*~a from ~@1*~a." 1 
2)

FORMAT: error with call: (format #f "Accepted connection on ~@0<===*~a from 
~@1*~a." ===>1 2 )
        misplaced modifier
FORMAT: INTERNAL ERROR IN FORMAT-ERROR!
        destination: #f
        format string: "Accepted connection on ~@0*~a from ~@1*~a."
        format args: (1 2)
        error args:  (#f "error in format" () #f)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
error in format
--8<---------------cut here---------------end--------------->8---

Keeping it as future work…

Ludo’.



reply via email to

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