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: hygiene and macro-introduced toplevel bindings Date: Fri, 01 Apr 2011 10:52:22 +0200 Message-ID: References: <87bp1xui8e.fsf@vir.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1301658231 20160 80.91.229.12 (1 Apr 2011 11:43:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 11:43:51 +0000 (UTC) Cc: guile-devel To: Andreas Rottmann Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Apr 01 13:43:45 2011 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.69) (envelope-from ) id 1Q5clU-0002fE-WE for guile-devel@m.gmane.org; Fri, 01 Apr 2011 13:43:45 +0200 Original-Received: from localhost ([127.0.0.1]:36403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5cdK-000102-JR for guile-devel@m.gmane.org; Fri, 01 Apr 2011 07:35:18 -0400 Original-Received: from [140.186.70.92] (port=34712 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5cdC-0000xo-IV for guile-devel@gnu.org; Fri, 01 Apr 2011 07:35:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5cd6-0002M9-PE for guile-devel@gnu.org; Fri, 01 Apr 2011 07:35:10 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:39828 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5cd6-00020U-N7 for guile-devel@gnu.org; Fri, 01 Apr 2011 07:35:04 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E325F21A5; Fri, 1 Apr 2011 07:36:11 -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; s=sasl; bh=6ZiwZFBjz1rEFXGUGt+yYoeKNyk=; b=KD5tq2 xX9QtEtQPMoD4+hbonkWQWB//+B+vEuETcCaqQQa/Hu3fRE2G82reC82JUaFmdkn Wn+cStJOy5H49IfepJzA9+F24lJrVvx4jOEshnRTTEtRB0YHNXpdllTG+vK33Rel TmyJUZwcdlW1KASlrqZPQ4FT4Jie5ocNcK2zc= 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; q=dns; s=sasl; b=NrhgADBDG6IN9NNq+jvhbtjliwt3cxJh aUGsVssIVr6Akr0tYXe2rnKX66gNGlXVSWgivLwgQsxlCygCud6oX5Sq6A0DlhVQ anBU77CbMb835Yqr4cVm6apz8WFfvZ6R9qJGwAO1i1Ui1jnmefGGjJE/HLB+fT5D cP/4yI8fxW4= 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 CF5FC21A3; Fri, 1 Apr 2011 07:36:09 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (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 33A2B21A1; Fri, 1 Apr 2011 07:36:07 -0400 (EDT) In-Reply-To: (Andy Wingo's message of "Tue, 08 Mar 2011 23:37:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 3D5D460A-5C54-11E0-B112-E8AB60295C12-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.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:12134 Archived-At: Hello list, On Tue 08 Mar 2011 23:37, Andy Wingo writes: > On Mon 28 Feb 2011 22:28, Andy Wingo writes: > >> But you have to, I think. If that module that contained the above >> define-syntactic-accessor expansion exports "foo", then in another >> module you have: >> >> (define bar (lambda () (foo))) >> >> which expands to >> >> (define bar (lambda () val-234123)) >> >> Val needs to be named. > > Everyone appears to want gensymmed names. OK! Let's consider this to > be a bug, and that at some point in the future, Guile will start > gensymming this names. Just a reminder, the next step here is to implement gensyms with global uniqueness. To do this we will use globally-unique gensyms. 128 bits of randomness would be fine I think. > If people want to make this go faster, start working on the gensyms. If anyone is looking for a project, here is one. Andy -- http://wingolog.org/