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.user Subject: macro difficulties Date: Tue, 19 Mar 2013 00:02:34 +0100 Message-ID: <3507627.tvFTUMXWPF@warperdoze> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: ger.gmane.org 1363648014 13432 80.91.229.3 (18 Mar 2013 23:06:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Mar 2013 23:06:54 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Mar 19 00:07:20 2013 Return-path: Envelope-to: guile-user@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 1UHj9D-0002kC-Kq for guile-user@m.gmane.org; Tue, 19 Mar 2013 00:07:19 +0100 Original-Received: from localhost ([::1]:43764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHj8q-0003hg-Ix for guile-user@m.gmane.org; Mon, 18 Mar 2013 19:06:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHj7a-00038P-Od for guile-user@gnu.org; Mon, 18 Mar 2013 19:06:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHj4j-0005MV-6v for guile-user@gnu.org; Mon, 18 Mar 2013 19:05:38 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:36325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHj4i-0005M6-Uz for guile-user@gnu.org; Mon, 18 Mar 2013 19:02:41 -0400 Original-Received: by mail-la0-f47.google.com with SMTP id fj20so6838117lab.20 for ; Mon, 18 Mar 2013 16:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding:content-type; bh=ShqoWU3RL0022ySLxglMgB/fFnPzYqAabvPaY2UcW28=; b=jhzS5ZslslByNZIkWmUNV/wl45NyU7i9JdKFRshCNEPinebYA0AwktR4rUD7+Mu7FR avYekmHKdk+rrhnt2O0yyeSxjfJvmMW6kgIkNHfRrbq/5FZCkhFFKEkOKowFTKSkkCof KdaUvxX/sUEFZODeaAMv0SNHfKYOGmkoEU/AKXKUrnJ1L0XcIFBt9T9rom90LOlZIKFs EpDSj1aFeQN8VnHuSP4jDkhh97Pil8BCp8KRy7NL1rDzN4/vX8+z5uVpBGt+WAvwIF7g OHmakkUrgoOeKvY5Yki34PKyLwv0YC/nlo6N407z2B9Qf1gPBgr0KrdpryXF1gKrU7S1 uMBw== X-Received: by 10.112.41.136 with SMTP id f8mr6941163lbl.121.1363647759427; Mon, 18 Mar 2013 16:02:39 -0700 (PDT) Original-Received: from warperdoze.localnet (1-1-1-39a.veo.vs.bostream.se. [82.182.254.46]) by mx.google.com with ESMTPS id jh4sm1263227lab.7.2013.03.18.16.02.36 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Mar 2013 16:02:37 -0700 (PDT) User-Agent: KMail/4.9.5 (Linux/3.5.0-25-generic; KDE/4.9.5; x86_64; ; ) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10189 Archived-At: Hi, I have some problem with syntax-parameters the use case is that I would like to use both the old binding and the new binding at the same time e.g. (define-syntax-parameter a ...) (... (let-syntax ((save (get-transformer a))) (syntax-parameterize ((a (syntax-rules () ((_ x y) (save x y)) ((_ x) ...) ...))) ... ))) I would believe that this is possible in master but how do I get this semantic to work in guile 2.0? /Stefan