summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-14 06:25:01 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-14 06:25:01 -0700
commitf5aa16fcc4431d7134da691891b489f6a74da944 (patch)
treedf63e0d94238d60822f940a710c54ce3e498ad5e /txr.1
parent6e6a0e0e8a2391725a916511864acd0e02556703 (diff)
downloadtxr-f5aa16fcc4431d7134da691891b489f6a74da944.tar.gz
txr-f5aa16fcc4431d7134da691891b489f6a74da944.tar.bz2
txr-f5aa16fcc4431d7134da691891b489f6a74da944.zip
Adding fmt function.
* stream.c (fmt): New function. * stream.h (fmt): Declared. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.117
1 files changed, 17 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 9dfe7485..67dc77d0 100644
--- a/txr.1
+++ b/txr.1
@@ -33202,6 +33202,23 @@ The precision field is processed syntactically, and no error occurs, however.
.PP
+.coNP Function @ fmt
+.synb
+.mets (fmt < format-string << format-arg *)
+.syne
+.desc
+The
+.code fmt
+function provides a short-hand for formatting to a string, according
+to the following equivalence which holds between
+.code fmt
+and
+.codn format :
+
+.cblk
+ (fmt s arg ...) <--> (format nil s arg ...)
+.cble
+
.coNP Functions @, print @, pprint @, prinl @, pprinl @ tostring and @ tostringp
.synb
.mets (print < obj <> [ stream ])