From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tristan Colgate Newsgroups: gmane.lisp.guile.devel Subject: defmacro* and defmacro*-public in master Date: Tue, 15 Dec 2009 17:15:03 +0000 Message-ID: <2e6d10880912150915vc853f8eme1535b8aa5504aab@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1261099472 26329 80.91.229.12 (18 Dec 2009 01:24:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2009 01:24:32 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Dec 18 02:24:27 2009 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.50) id 1NLRZy-00024V-3G for guile-devel@m.gmane.org; Fri, 18 Dec 2009 02:24:26 +0100 Original-Received: from localhost ([127.0.0.1]:50550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLRZy-00013U-0J for guile-devel@m.gmane.org; Thu, 17 Dec 2009 20:24:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKazP-0005cJ-Ng for guile-devel@gnu.org; Tue, 15 Dec 2009 12:15:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKazK-0005Ys-JP for guile-devel@gnu.org; Tue, 15 Dec 2009 12:15:10 -0500 Original-Received: from [199.232.76.173] (port=59755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKazK-0005YX-Dj for guile-devel@gnu.org; Tue, 15 Dec 2009 12:15:06 -0500 Original-Received: from mail-ew0-f224.google.com ([209.85.219.224]:33450) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKazJ-0002A0-LA for guile-devel@gnu.org; Tue, 15 Dec 2009 12:15:05 -0500 Original-Received: by ewy24 with SMTP id 24so76020ewy.26 for ; Tue, 15 Dec 2009 09:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Ax/Q37AMdvahkpRDU98RJAsh9oJ3rcOP6AuVUcuoR14=; b=johr5F32PLl5+tdgAD4P/SCUBD+rxO4VlVtL2b50gC9AhmiITXKgls32eGzUpPJIWA 34Z3nIwQ4/1NWR5+gWbB0pNPE7Rmxmimhpdbt+0WG09LoEfYCJSh6D/xAuztntg3Xzo7 JEwtLS3HO4CEN6QW6UfENOwu+HMMECh+GFKJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=iv7kLamya98W7H4tU0lvgeXCZQUaaCbRZGNX3O59nwDVt+kNrhxmZAjF9h521FYSBs /PJ0nwFL0SAYZ/sroR+Gz062wrB8kVbRmw2U1hlBOKEsdxOI6HbZrHWVOUBbQWTu6vfA Xd5tpgN77fZKPVxyhBIJLFAHqzqZ9Xp1lHn9k= Original-Received: by 10.216.90.1 with SMTP id d1mr2952294wef.136.1260897303956; Tue, 15 Dec 2009 09:15:03 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 17 Dec 2009 20:23:36 -0500 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:9770 Archived-At: Hi Guys, Are defmacro* and friends supposed to work in current master? I've got some code that works under 1.8 but fails on master. I checked the trivial examples in the manual, and sure enough, they fail as well... scheme@(guile-user)> (use-modules (ice-9 optargs)) scheme@(guile-user)> (defmacro* transmorgify (a #:optional b) ... (a 1)) ERROR: In procedure sc-expand: ERROR: source expression failed to match any pattern in (defmacro* transmorgify (a #:optional b) (a 1)) scheme@(guile-user)> Also, out of interest, is there such a thing as define*-syntax? And, whilst I'm at it, on a probably unrelated matter? Is it possible to have docstrings for macros? It doesn't seem unreasonable, but doing something like (help macroname) seems to break anyway (for relatively obvious reasons). Thanks very much for all the hard work you guys are putting in, Cheers -- Tristan Colgate-McFarlane ---- "You can get all your daily vitamins from 52 pints of guiness, and a glass of milk"