unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* doco scm_cons_star
@ 2003-07-17 23:23 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-07-17 23:23 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

It strikes me that scm_cons_star doesn't do much good for a C program,
in the way it expects the caller to have done the consing already.  I
think it could be quietly dropped from the documentation.

	* scheme-compound.texi (List Constructors): Remove scm_cons_star,
	since it's not very helpful.


[-- Attachment #2: scheme-compound.texi.cons-star.diff --]
[-- Type: text/plain, Size: 667 bytes --]

--- scheme-compound.texi.~1.9.~	2003-06-05 01:29:27.000000000 +1000
+++ scheme-compound.texi	2003-07-17 09:29:40.000000000 +1000
@@ -239,8 +239,11 @@
 @code{list}.
 @end deffn
 
+@c  C Function scm_cons_star(arg1,rest) used to be documented here,
+@c  but it's not really a useful interface, since it expects the
+@c  caller to have already consed up all but the first argument.
+@c
 @deffn {Scheme Procedure} cons* arg1 arg2 @dots{}
-@deffnx {C Function} scm_cons_star (arg1, rest)
 Like @code{list}, but the last arg provides the tail of the
 constructed list, returning @code{(cons @var{arg1} (cons
 @var{arg2} (cons @dots{} @var{argn})))}.  Requires at least one

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-17 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-17 23:23 doco scm_cons_star Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).