From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel Subject: Re: syntax closures Date: Tue, 22 Jan 2013 20:06:27 +0100 Message-ID: References: <87ip6pv0jm.fsf@pobox.com> <87d2wxqikf.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1358881599 8127 80.91.229.3 (22 Jan 2013 19:06:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2013 19:06:39 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jan 22 20:06:58 2013 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TxjBQ-0006Mp-8H for guile-devel@m.gmane.org; Tue, 22 Jan 2013 20:06:56 +0100 Original-Received: from localhost ([::1]:39334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjB9-0008T6-1Q for guile-devel@m.gmane.org; Tue, 22 Jan 2013 14:06:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjB0-0008So-0b for guile-devel@gnu.org; Tue, 22 Jan 2013 14:06:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxjAy-000137-ER for guile-devel@gnu.org; Tue, 22 Jan 2013 14:06:29 -0500 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:43831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjAy-000133-9d for guile-devel@gnu.org; Tue, 22 Jan 2013 14:06:28 -0500 Original-Received: by mail-qc0-f169.google.com with SMTP id t2so302610qcq.0 for ; Tue, 22 Jan 2013 11:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=t+9DJr2WZVjthzQE4DXqhS3jl+dt5ikb2VWtwKW8054=; b=eXWHv5eg+u8lPiD86AUcmU63TmZjy6tVfsC7+PZlzrIYtSotETWe+ONmjW4vtShrcC ndJKww8EBnMBS0LRMTeKOnSuYwS+TGGKc/Vrs0xuTynkjaIuksPudMoG7oQSF9MIVhD3 LRXnFyXsJQMuOb0Qys+AMXODGWS1aFQC+AFFazlnpbXXmdTko4t8L2sT2Z6nI4TlJ/v6 a7sfanI4esszjjVuNz7Eilxk5rE3A8L33W+tdW+BdYtBu48atw3xEujhX/cprMpii/Zt bOdFo73gd+7MKRbv5NM79Fr7DYOdLsk0L1O/8zhyGDPo5DZnZ0527+7ns3IAaRYuaQo1 Ai4g== X-Received: by 10.224.222.82 with SMTP id if18mr24641062qab.9.1358881587561; Tue, 22 Jan 2013 11:06:27 -0800 (PST) Original-Received: by 10.49.28.135 with HTTP; Tue, 22 Jan 2013 11:06:27 -0800 (PST) In-Reply-To: <87d2wxqikf.fsf@pobox.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.169 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:15550 Archived-At: Hi wingo: Yes this is something I can do. But on a second thought I can't find a way to handle unsyntax-splicing without a splicing macro. Modding #, and not #,@ just screams for difficult errors to show up. Therefor I will in stead just write another macro unsyntax-72 that people can use. btw, I tried to get gnus working but cannot send mail from it :-( /Stefan On Tue, Jan 22, 2013 at 5:38 PM, Andy Wingo wrote: > On Tue 22 Jan 2013 17:19, Stefan Israelsson Tampe writes: > >>> > (read-hash-extend #\_ syntax-closure-reader) >>> >>> Have you tried having your srfi-72 module export a binding for unsyntax? >> >> I would like to use that of cause, but does it mix well with other >> already written code? > > It should work in a modular fashion. #,foo reads as (unsyntax foo), and > the meaning of that depends on the binding of unsyntax that is current. > > Andy > -- > http://wingolog.org/