On Sat 29 Jan 2011 16:39, Mark H Weaver <m...@netris.org> writes: > Andy Wingo <wi...@pobox.com> writes: >> And I don't recall the practical difference between GPROC and >> PRIMITIVE_GENERIC. > > I found the answer. According to a commit message by Mikael Djurfeldt > in 2003, all uses of SCM_GPROC should be converted to use > SCM_PRIMITIVE_GENERIC. > > http://blog.gmane.org/gmane.lisp.guile.cvs/month=20030301 > > I will do this for all extensible functions in numbers.c. I will also > make some other numeric functions extensible. For example, it occurs to > me if we make `inf?', `nan?', and `finite?' extensible, then users will > be able to easily extend them to handle non-real complex values, if > desired.
Sounds great to me. Thanks for doing the archeology! Andy -- http://wingolog.org/