From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Julian Graham" Newsgroups: gmane.lisp.guile.devel Subject: Re: srfi-18 requirements Date: Mon, 15 Oct 2007 18:47:02 -0400 Message-ID: <2bc5f8210710151547l5e245ed1ucaf07e9006e95387@mail.gmail.com> References: <2bc5f8210710101854m1254160ei451026182b87e767@mail.gmail.com> <87lka8pvv3.fsf@laas.fr> <2bc5f8210710120831q5c90dcfes930595fa3eb16a77@mail.gmail.com> <2bc5f8210710151526t6345200ao997988c1877e8cce@mail.gmail.com> <4713EB20.3080608@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1192491473 8140 80.91.229.12 (15 Oct 2007 23:37:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 23:37:53 +0000 (UTC) Cc: guile-devel@gnu.org To: "Stephen Compall" Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Oct 16 01:37:43 2007 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhYiU-0007Ca-CZ for guile-devel@m.gmane.org; Tue, 16 Oct 2007 00:47:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhYiN-0004xc-8v for guile-devel@m.gmane.org; Mon, 15 Oct 2007 18:47:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhYiI-0004xC-N2 for guile-devel@gnu.org; Mon, 15 Oct 2007 18:47:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhYiH-0004wx-1A for guile-devel@gnu.org; Mon, 15 Oct 2007 18:47:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhYiG-0004wu-SL for guile-devel@gnu.org; Mon, 15 Oct 2007 18:47:04 -0400 Original-Received: from mu-out-0910.google.com ([209.85.134.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhYiG-0006wM-5A for guile-devel@gnu.org; Mon, 15 Oct 2007 18:47:04 -0400 Original-Received: by mu-out-0910.google.com with SMTP id g7so1779111muf for ; Mon, 15 Oct 2007 15:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4jKiRU/E6DqSE3xiButF6zmyblutB0WW1EHSmgsyHh4=; b=jKyohn9liBt9AEnYAsXEfrw7EGdSqo7/4YJb+9/EjR3XfCJ7ymBY5sBlOWArKtOB8huFwCEQI18+hfLxtDt9vvmb9k6Aw6NJR41F+OBIPW8ihg1ZtrwGAzjk0DgUIh4HFQDE+gCdrdrAf++LJ38jOuMX87jJcj7k+SJdh4rVjIY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gbpPO8rbNRa9JDEYbenZDuQwfmIQyo33X+nYKcLHSN1WDgzko/y10yf3801A3Bz5gOSsc7Y4qN78pbWhco4xhzR+vrTubaU+kt0X4RLaoDPiIM+2H+88qvxt6hNXubL+i9kWlqdxL/NlVI3kT/yHijT0o8Le23dkja0gmbiI1xY= Original-Received: by 10.82.174.20 with SMTP id w20mr12256339bue.1192488422628; Mon, 15 Oct 2007 15:47:02 -0700 (PDT) Original-Received: by 10.82.176.12 with HTTP; Mon, 15 Oct 2007 15:47:02 -0700 (PDT) In-Reply-To: <4713EB20.3080608@member.fsf.org> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6840 Archived-At: Works like a charm! Thanks. On 10/15/07, Stephen Compall wrote: > Julian Graham wrote: > > (SRFI-18 make-condition-variable takes an optional argument that you > > can use to "name" the condition var). To work around this, I was > > going to create backup bindings of the original primitives and then > > refer to them in my scheme reimplementations, a la: > > > > (define guile:make-condition-variable make-condition-variable) > > (define (make-condition-variable . foo) > > (let ((m (guile:make-condition-variable))) (do-something))) > > > > ...and even if the user noticed the slightly different behavior, that > > would be okay, because she'd specifically requested it by loading > > (srfi srfi-18). > > I can always get those if I want them with (@ (guile) > make-condition-variable). > > Also, unless there's a type conflict, I think other existing modules > simply assume you can deal with more optional arguments than you expect. > For example, SRFI-1 adds a third optional argument to assoc, the `=' > argument. You can use `#:replace' in define-module to suppress the warning. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel