On Wed 02 Feb 2011 15:02, Jan Nieuwenhuizen <janneke-l...@xs4all.nl> writes:

>     WARNING: (use): `remove!' imported from both (remove) and (srfi srfi-1)

As far as I can tell, it never worked to merge generics between a
regular procedure and a generic.  So the only way that your remove! case
could have worked would be to have the define-method create a generic
that fell back to the old value; but that does not appear to work:

  scheme@(guile-user)> (define-method (remove! (s <symbol>)) (pk 'hey))
  ERROR: In procedure scm-error:
  ERROR: #<procedure remove! (_ _)> is not a valid generic function

And indeed that does not appear to work with 1.8.

I don't understand what's going on here, really.  Do you?

Andy
-- 
http://wingolog.org/

Reply via email to