1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00
guile/module/oop/goops
Andy Wingo 2ce560b944 fix bad syntax in define-macro, (ice-9 match), and (oop goops)
* module/ice-9/boot-9.scm (define-macro): Use syntax-case to destructure
  macro arguments, so we get good errors.

* module/ice-9/match.scm (defstruct, define-const-structure): Don't
  unquote in the `defstruct' macro as a value in expansions.

* module/oop/goops.scm (standard-define-class): Can't define a macro with
  `define', use `define-syntax' instead.
  (define-accessor): Use syntax-rules. Doesn't give us much in this case.
  (toplevel-define!): New helper, to let us keep GOOPS' behavior with the
  new expander. Some solution that works lexically and at the toplevel
  would be nice, though.
  (define-method): Reimplement with syntax-rules -- soooo much nicer.

* module/oop/goops/dispatch.scm (lookup-create-cmethod): Don't define
  within an expression.
2009-04-25 12:50:53 +02:00
..
accessors.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
active-slot.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
compile.scm Replace eval-case with eval-when 2009-03-06 13:29:13 +01:00
composite-slot.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
describe.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
dispatch.scm fix bad syntax in define-macro, (ice-9 match), and (oop goops) 2009-04-25 12:50:53 +02:00
internal.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
save.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
simple.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
stklos.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00
util.scm move ice-9/ and oop/ under module/ 2008-11-01 12:44:21 +01:00