Howdie! 2013/4/17 Tobias Brandt > Hi guys, > > according to the documentation, when GOOPS is loaded, 'display' becomes a > generic function. > > To wit: > > scheme@(guile-user)> (use-modules (oop goops)) > scheme@(guile-user)> (class-of display) > $1 = #< 2cfa3c0> > > But adding a new method has no effect: > > scheme@(guile-user)> (define-class ()) > scheme@(guile-user)> (define-method (display (self )) (display > "foo")) > scheme@(guile-user)> (display (make )) (newline) > #< 2f428f0> > > You should (define-method (display (self ) port) ...) Best regards