Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generic method names for collections

> This works fine in standard Scheme,
> but for the ref implementation above, (ref ..) would have to return a
> pointer
> to a pointer to a structure in order to modify it. Which wouldn't work in
> this implementation.

> Or am I missing something?

Yes.  The idea is that:
	(set! (foo ...) value)
is re-written to:
	((setter foo) value ...)

This was discussed in the Guile mailing list recently.

	--Per Bothner
Cygnus Solutions

Guile Home | Main Index | Thread Index