[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

defmacro* and defmacro*-public in master

From: Tristan Colgate
Subject: defmacro* and defmacro*-public in master
Date: Tue, 15 Dec 2009 17:15:03 +0000

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))

  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

  Thanks very much for all the hard work you guys are putting in,


Tristan Colgate-McFarlane
  "You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]