better encapsulation support in generic functions
authorChristophe Rhodes <csr21@cantab.net>
Sat, 4 Jan 2014 19:40:25 +0000 (19:40 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Sat, 4 Jan 2014 19:42:59 +0000 (19:42 +0000)
commita6c4b66e040824da2fc76e101f92940e8412c6d3
treebbeac36f4f7ca028bc58603bfe7e53b87d90c2af
parenta189a69454ef7635149319ae213b337f17c50d20
better encapsulation support in generic functions

It's not very nice to alter the fdefinition of names which refer to
generic functions: it might not be strictly required by the spec, but
preserving the class of generic functions when encapsulated is more
friendly, so that attempts to trace or profile them doesn't break any
metaobject protocol logic which refers to particular functions by
name.  Fortunately, it's fairly straightforward to
support (un)encapsulation of generic functions through adapting the
discriminating function instead.
NEWS
src/code/fdefinition.lisp
src/pcl/defs.lisp
src/pcl/methods.lisp
tests/interface.impure.lisp