This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: goops: slot option inheritance question
From: Mikael Djurfeldt <mdj@mdj.nada.kth.se>
Subject: Re: goops: slot option inheritance question
Date: 09 May 2000 23:50:10 +0200
Message-ID: <xy7ya5j2y25.fsf@mdj.nada.kth.se>
> Until then, you could let the `initialize' method parse your initargs
> for options:
>
> (define-class <being> ()
> (str)
> ...)
>
> (define-method (initialize (being <being>) initargs)
> (let ((str-val (get-keyword #:str initargs #f)))
> (if str-val
> (set! (str being) str-val))))
guile -l filename.scm gave me:
ERROR: bad method name: (initialize (being <being>) initargs)
am i doing something wrong? do i need to be using the latest cvs sources?