From: ludovic.courtes@laas.fr (Ludovic Courtès)
Subject: `scm_list ()'
Date: Thu, 02 Feb 2006 10:38:37 +0100 [thread overview]
Message-ID: <87ek2mumle.fsf@laas.fr> (raw)
Hi,
`scm_list ()' is no longer available in 1.7, not even as a deprecated
function. In 1.6, it is documented as follows:
-- Scheme Procedure: list . objs
-- C Function: scm_list (objs)
Return a list containing OBJS, the arguments to `list'.
The funny thing is that to get a list, you had to have a list already
(OBJS is a list here). I don't really get the point of this function in
fact. ;-)
Should the following be enough to ensure compatibility?
SCM
scm_list (SCM obj)
{
scm_c_issue_deprecation_warning ("`scm_list' is deprecated. Use "
"`scm_list_n' instead.");
SCM_VALIDATE_LIST (1, obj);
return obj;
}
Thanks,
Ludovic.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
next reply other threads:[~2006-02-02 9:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 9:38 Ludovic Courtès [this message]
2006-02-02 18:58 ` `scm_list ()' Neil Jerram
2006-02-02 21:25 ` Kevin Ryde
2006-02-06 9:15 ` Ludovic Courtès
2006-02-06 20:26 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ek2mumle.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).