From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dsmich@adelphia.net (Dale P. Smith) Newsgroups: gmane.lisp.guile.user Subject: Re: guile and XML (mixp) Date: Tue, 28 Nov 2006 08:36:37 -0500 Message-ID: <87mz6bofq2.fsf@adelphia.net> References: <1164216402.3464.33.camel@localhost.localdomain> <87wt5nwbzo.fsf@ossau.uklinux.net> <456AE847.5030101@fastmail.fm> <87lklwmtot.fsf@ossau.uklinux.net> <87bqms0xn8.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164721765 1150 80.91.229.2 (28 Nov 2006 13:49:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Nov 2006 13:49:25 +0000 (UTC) Cc: Guile Users Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Nov 28 14:49:21 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gp3Ja-00070J-3h for guile-user@m.gmane.org; Tue, 28 Nov 2006 14:48:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp3JZ-0006r4-HN for guile-user@m.gmane.org; Tue, 28 Nov 2006 08:48:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp3CD-0000IH-BT for guile-user@gnu.org; Tue, 28 Nov 2006 08:40:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp3CB-0000Fu-Bm for guile-user@gnu.org; Tue, 28 Nov 2006 08:40:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp3C9-0000Ff-TI for guile-user@gnu.org; Tue, 28 Nov 2006 08:40:23 -0500 Original-Received: from [68.168.78.199] (helo=mta9.adelphia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gp3C6-0001JV-G3 for guile-user@gnu.org; Tue, 28 Nov 2006 08:40:19 -0500 Original-Received: from stumpy.adelphia.net ([24.51.77.198]) by mta15.adelphia.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20061128132647.RITO25578.mta15.adelphia.net@stumpy.adelphia.net>; Tue, 28 Nov 2006 08:26:47 -0500 Original-To: Neil Jerram In-Reply-To: <87bqms0xn8.fsf@laas.fr> (Ludovic =?utf-8?Q?Court=C3=A8s's?= message of "Tue, 28 Nov 2006 09:43:23 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5677 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=C3=A8s) writes: > Hi, > > Neil Jerram writes: > >> What seems very reasonable, however, would be a way for a module to >> discover whether it is being loaded for use-syntax or use-module, so >> that it can emit a warning, or even signal an error, if the use is >> inappropriate. >> > > I'm not sure extending `define-module' just to solve this specific > problem is a good idea. In particular, `use-syntax' itself doesn't seem > too reasonable (see [0]). Thus, in the long-term, it may be preferable > to remove `use-syntax' or replace it with more robust primitives, rather > than working around it. I suspect that the sole purpose of use-syntax was to allow the use of syntax-case macros instead of the non-standard lisp style macros that are the default. I don't think it was ever intended to be generally useful. Long term, Guile should probably have syntax-case macros available without having to resort to use-syntax. -Dale --=20 Dale P. Smith _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user