From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: How can I tell guile to shut up? ;) Date: Fri, 01 Jul 2011 16:26:14 +0200 Message-ID: <87pqlu6prt.fsf@pobox.com> References: <99db88be1896528082d33a77ec4cadbe.squirrel@webmail.kapsi.fi> <87y60lsjx5.fsf@pobox.com> <87r56cxgax.fsf@rotty.yi.org> <87r56bd656.fsf@pobox.com> <871uyb1030.fsf@gnu.org> <87zkky8lgi.fsf@pobox.com> <87tyb65eze.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309531376 14814 80.91.229.12 (1 Jul 2011 14:42:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 14:42:56 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 01 16:42:50 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qcevi-0002yX-2D for guile-devel@m.gmane.org; Fri, 01 Jul 2011 16:42:50 +0200 Original-Received: from localhost ([::1]:46056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcevg-0004WN-Dt for guile-devel@m.gmane.org; Fri, 01 Jul 2011 10:42:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcefm-00006T-R0 for guile-devel@gnu.org; Fri, 01 Jul 2011 10:26:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qcefk-0001EJ-Ba for guile-devel@gnu.org; Fri, 01 Jul 2011 10:26:22 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:43602 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qcefk-0001EE-2f; Fri, 01 Jul 2011 10:26:20 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 80CB758E0; Fri, 1 Jul 2011 10:28:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=fz7sKhJTldJS iSc+X6D3yEupXIk=; b=DGZJJMRdmbB+vh5EG9rbvZ12eT+atrXMK5wwEQKKaSxp UDjUdWDcWtq0wObHZ1cpPP+pIZdQ1M6ZU8PxFkXKH7m3VOn3X2oncDZ/0SU2Wp9E +lWR4S+VW2zHdSBNUluOhBjqu734IuY6+lwLmKD2t7ijA1x740MkkNo1SdrdhGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=FVo+i4 Qfrh4UrxZEC1/dhSgxZ/WK7rlOL+HAfXTAABqTIXxBc1HVZYF0EQTtAMt1K378ig qPOEG/tjSMaRhw/OO+TDKn3yp1lvyvIKmVqxpGEAEQ3taKgX+eMaYcMqcgMuPrOt Qq2ylQag8tJxlpqfxUBK0saKkBFCVsG2JGFNw= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7805658DF; Fri, 1 Jul 2011 10:28:33 -0400 (EDT) Original-Received: from badger (unknown [95.21.56.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 9EDAD58DE; Fri, 1 Jul 2011 10:28:32 -0400 (EDT) In-Reply-To: <87tyb65eze.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 01 Jul 2011 15:04:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 65E1FB5C-A3EE-11E0-96C3-5875C023C68D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12630 Archived-At: Hi! On Fri 01 Jul 2011 15:04, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andy Wingo skribis: > >> here's the deal. I think I just read three emails of mine with this phrase in it. Terrible. I promise more syntactic variability in the future. >> (with-fluids ((%current-input-port 'foo)) ...) ? Probably not. > > No, but OTOH, I *think* it would lead to a graceful type error sooner or > later, as opposed to a crash. True. Still, not very nice :) > The problem I have is that (1) I don=E2=80=99t see how we could migrate t= he > existing public fluids to parameters without breaking the API, and (2) > it=E2=80=99s unpleasant to my eye to have both fluids and parameters in t= he core > API. As an example let's take *repl-stack* from boot-9. Here's what we could do: (define repl-stack (make-parameter #f))) and in deprecated.scm: (define *repl-stack* (parameter-fluid repl-stack)) Ideally we would change *repl-stack* to be an identifier-syntax like: (define-syntax *repl-stack* (identifier-syntax (begin (issue-deprecation-warning "it's dead jim") (parameter-fluid repl-stack)))) but in 2.0 that would break binary compat. We could do that in 2.2, or otherwise just remove it in 2.2, depending on what the situation was. So I am optimistic regarding our ability to gradually change over to parameters, if you are in agreement that parameters are the interface that we should export. Cheers, Andy --=20 http://wingolog.org/