1.0.43.44: New type method: TYPE-SINGLETON-P
authorPaul Khuong <pvk@pvk.ca>
Tue, 12 Oct 2010 04:46:02 +0000 (04:46 +0000)
committerPaul Khuong <pvk@pvk.ca>
Tue, 12 Oct 2010 04:46:02 +0000 (04:46 +0000)
commit49319a8c7f3527b0d452b8f07bdabe02283e8ff7
treec1fd92890523d605567759bb5c6e9ed6c72d7867
parent600211043a4b973e4c525511b44d9cc7a5907676
1.0.43.44: New type method: TYPE-SINGLETON-P

 * The new type method is used to Determine whether a type is inhabited
   by exactly one object.  If so, it returns and the object.  Otherwise,
   it returns NIL, NIL.

 * It is only defined for MEMBER, CHARACTER-SET and NUMERIC -TYPEs so
   far.

 * The default is to always return NIL, NIL.
package-data-list.lisp-expr
src/code/late-type.lisp
src/code/type-class.lisp
version.lisp-expr