[pro] User defined format functions

Didier Verna didier at lrde.epita.fr
Tue Jan 25 20:19:19 UTC 2011


Sam Steingold <sds at gnu.org> wrote:

> clisp has "~!"
>
> http://clisp.sourceforge.net/impnotes/print-formatted.html
>
> The additional FORMAT instruction ~! is similar to ~/, but avoids
> putting a function name into a string, thus, you might not need to
> specify the package explicitly.
>
> (FORMAT stream "~arguments!" function object)
>
> is equivalent to
>
> (FUNCALL function stream object colon-modifier-p atsign-modifier-p arguments)

  That's nice. Thanks for the pointer.

-- 
Resistance is futile. You will be jazzimilated.

Scientific site:   http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com




More information about the pro mailing list