unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Guile 1.6, goops incompatible with ice-9 syncase
@ 2002-12-09 21:01 Daschbach, John L
  2003-01-16 11:54 ` Mikael Djurfeldt
  0 siblings, 1 reply; 2+ messages in thread
From: Daschbach, John L @ 2002-12-09 21:01 UTC (permalink / raw)



It appears that the ice-9 syncase module breaks goops.  The following is an
example
The Options: line and the "not keyword" are display statements I put in the
goops.scm
file to try and debug the problem. 

The slib (require 'macro) package does not generate the error, and so I have
switched to
using it rather than the ice-9 syncase module.

It is possible I am doing something wrong.  
  
guile> (use-modules (oop goops))
guile> (define-class <foo> () a b c)
guile> (define-class <bar> (<foo>) (a #:init-value 1.2))
Options: (#:init-value 1.2)
guile> (use-syntax (ice-9 syncase))
guile> (define-class <fbar> (<foo>) (a #:init-value 1.2))
Options: ((quote #:init-value) (quote 1.2))
not keyword<unnamed port>: In expression (class (<foo>) (a # #) ...):
<unnamed port>: malformed slot option list
ABORT: (goops-error)
Type "(backtrace)" to get more information or "(debug)" to enter the
debugger.
guile> 


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guile 1.6, goops incompatible with ice-9 syncase
  2002-12-09 21:01 Guile 1.6, goops incompatible with ice-9 syncase Daschbach, John L
@ 2003-01-16 11:54 ` Mikael Djurfeldt
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Djurfeldt @ 2003-01-16 11:54 UTC (permalink / raw)
  Cc: 'guile-user@gnu.org'

"Daschbach, John L" <John.Daschbach@pnl.gov> writes:

> It appears that the ice-9 syncase module breaks goops.  The following is an
> example
> The Options: line and the "not keyword" are display statements I put in the
> goops.scm
> file to try and debug the problem. 

The reason is that hitherto standard Guile macros has not played well
together with syntax-case macros.

Guile-1.7 now includes a change which make them play better together.
In particular, goops should work OK now.

Best regards,
Mikael D.


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-16 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-09 21:01 Guile 1.6, goops incompatible with ice-9 syncase Daschbach, John L
2003-01-16 11:54 ` Mikael Djurfeldt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).