From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.lisp.guile.bugs Subject: Re: and-map and or-map not documented in the manual Date: Thu, 09 Oct 2008 16:41:53 +0000 Message-ID: References: <87zlldu5kl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1223570565 6355 80.91.229.12 (9 Oct 2008 16:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 16:42:45 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Oct 09 18:43:39 2008 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Knybk-0001Vf-C3 for guile-bugs@m.gmane.org; Thu, 09 Oct 2008 18:43:24 +0200 Original-Received: from localhost ([127.0.0.1]:58287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knyag-0007nj-F3 for guile-bugs@m.gmane.org; Thu, 09 Oct 2008 12:42:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Knyab-0007n6-Ns for bug-guile@gnu.org; Thu, 09 Oct 2008 12:42:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Knyaa-0007mb-B4 for bug-guile@gnu.org; Thu, 09 Oct 2008 12:42:13 -0400 Original-Received: from [199.232.76.173] (port=56144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knyaa-0007mU-1c for bug-guile@gnu.org; Thu, 09 Oct 2008 12:42:12 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:50344 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnyaZ-0000z1-FP for bug-guile@gnu.org; Thu, 09 Oct 2008 12:42:11 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KnyaU-0000pZ-Me for bug-guile@gnu.org; Thu, 09 Oct 2008 16:42:07 +0000 Original-Received: from vps203.linuxvps.org ([91.186.7.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 16:42:06 +0000 Original-Received: from sebyte by vps203.linuxvps.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Oct 2008 16:42:06 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps203.linuxvps.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:W4zyRrroktbmAun7oyZaZH30e9Y= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4042 Archived-At: Quoth ludo@gnu.org (Ludovic Courtès): > Andy Wingo writes: > >> So ideally instead of documenting them, if you're with me, we should >> deprecate them, replacing them with their srfi-1 counterparts. > > I'm with you, but I think the status quo is safer, so that code from the > late 90's can run forever with Guile (hmm, how convincing is that?). How about deprecating them in the documentation only. Dare I say that if it exists, it should be documented, (if only to direct the user elsewhere). Something like this maybe: -- Scheme Procedure: and-map pred lst1 lst2 ... lstN Please see . Note: The reason for having two procedures that do the same thing is primarily historical. 'and-map' only exists in Guile whereas 'every' can be found in most (if not all) Scheme implementations. It will not be removed (for the sake of backwards compatiblity) but there's no reason to use it unless you want your code to be non-portable. Seb