[pro] User defined format functions
Sam Steingold
sds at gnu.org
Tue Jan 25 20:13:37 UTC 2011
> * Didier Verna <qvqvre at yeqr.rcvgn.se> [2011-01-25 18:05:11 +0100]:
>
> I'm aware of the ~// construct, which I find extremely cumbersome.
> It seems to me that the package handling part,
> specifically, makes it totally unusable.
exactly.
> Does anybody actually use it?
yes.
> WDYT? Does something like that already exists[2]?
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)
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://camera.org http://ffii.org http://truepeace.org http://dhimmi.com
http://honestreporting.com http://memri.org http://jihadwatch.org
PI seconds is a nanocentury
More information about the pro
mailing list