logicmoo

Untitled

Jan 12th, 2018
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 4.09 KB | None | 0 0
  1. [25]>  (mop:class-slots (find-class 'hash-table))
  2. NIL
  3. [26]> (describe (find-class 'hash-table))
  4.  
  5. #1=#<BUILT-IN-CLASS HASH-TABLE> is an instance of the CLOS class #1=#<STANDARD-CLASS BUILT-IN-CLASS>.
  6. Slots:
  7.   CLOS::$HASHCODE                  = 209047793447548
  8.   CLOS::$CLASSNAME                 = HASH-TABLE
  9.   CLOS::$DIRECT-SUBCLASSES         = NIL
  10.   CLOS::$DIRECT-METHODS            =
  11. #1=#<WEAK-LIST (#<STANDARD-METHOD (#2=#<BUILT-IN-CLASS HASH-TABLE>)> #3=#<STANDARD-METHOD (#2# #4=#<BUILT-IN-CLASS STREAM>)>)>
  12.   CLOS::$DIRECT-SUPERCLASSES       = #1=(#2=#<BUILT-IN-CLASS T>)
  13.   CLOS::$ALL-SUPERCLASSES          =
  14. #1=#S(HASH-TABLE :TEST STABLEHASH-EQ :WARN-IF-NEEDS-REHASH-AFTER-GC T (#2=#<BUILT-IN-CLASS T> . T) (#3=#<BUILT-IN-CLASS HASH-TABLE> . T))
  15.   CLOS::$PRECEDENCE-LIST           = #1=(#2=#<BUILT-IN-CLASS HASH-TABLE> #3=#<BUILT-IN-CLASS T>)
  16.   CLOS::$DIRECT-SLOTS              = NIL
  17.   CLOS::$SLOTS                     = NIL
  18.   CLOS::$SLOT-LOCATION-TABLE       = #S(HASH-TABLE :TEST FASTHASH-EQ :WARN-IF-NEEDS-REHASH-AFTER-GC T)
  19.   CLOS::$DIRECT-DEFAULT-INITARGS   = NIL
  20.   CLOS::$DEFAULT-INITARGS          = NIL
  21.   CLOS::$DOCUMENTATION             = NIL
  22.   CLOS::$LISTENERS                 = NIL
  23.   CLOS::$INITIALIZED               = 6
  24.   CLOS::$PROTOTYPE                 = #S(HASH-TABLE :TEST FASTHASH-EQ :WARN-IF-NEEDS-REHASH-AFTER-GC T)
  25.  
  26.  209047793447548 is an integer, uses 48 bits, is represented as a fixnum.
  27.  
  28.  HASH-TABLE is the symbol HASH-TABLE, lies in #<PACKAGE COMMON-LISP>, is accessible in 28 packages ASDF, CLOS, COMMON-LISP, COMMON-LISP-USER,
  29.  EXPORTING, EXT, FFI, POSIX, QL-BUNDLE, QL-CDB, QL-CONFIG, QL-DIST, QL-DIST-USER, QL-GUNZIPPER, QL-HTTP, QL-IMPL, QL-IMPL-UTIL, QL-INFO,
  30.  QL-MINITAR, QL-NETWORK, QL-PROGRESS, QL-SETUP, QL-UTIL, QUICKLISP-CLIENT, READLINE, REGEXP, SCREEN, SYSTEM, names a type, names a class, has
  31.  8 properties CLOS::CLOSCLASS, SYSTEM::DOC, SYSTEM::SUBTYPEP-DECIDE, SYSTEM::SUBTYPEP-SIMPLIFY-OR, SYSTEM::SUBTYPEP-SIMPLIFY-AND,
  32.  SYSTEM::SUBTYPEP-LIST, SYSTEM::SUBTYPEP-ATOM, SYSTEM::TYPE-SYMBOL.
  33.  For more information, evaluate (SYMBOL-PLIST 'HASH-TABLE).
  34.  
  35.   #<PACKAGE COMMON-LISP> is the package named COMMON-LISP. It has 2 nicknames LISP, CL.
  36.   It imports the external symbols of 1 package CLOS and exports 978 symbols to 27 packages QUICKLISP-CLIENT, QL-BUNDLE, QL-DIST-USER,
  37.   QL-DIST, QL-CDB, QL-GUNZIPPER, QL-MINITAR, QL-HTTP, QL-PROGRESS, QL-NETWORK, QL-IMPL-UTIL, QL-IMPL, QL-CONFIG, QL-SETUP, QL-UTIL, QL-INFO,
  38.   ASDF, READLINE, REGEXP, POSIX, EXPORTING, FFI, SCREEN, CLOS, COMMON-LISP-USER, EXT, SYSTEM.
  39.  
  40.  Documentation:
  41.  SYSTEM::FILE:
  42.  (((SETF FIND-CLASS) #P"/build/buildd/clisp-2.49/debian/build/clos-class3.fas" 2621 2671))
  43.  
  44.  NIL is the empty list, the symbol NIL, lies in #<PACKAGE COMMON-LISP>, is accessible in 28 packages ASDF, CLOS, COMMON-LISP,
  45.  COMMON-LISP-USER, EXPORTING, EXT, FFI, POSIX, QL-BUNDLE, QL-CDB, QL-CONFIG, QL-DIST, QL-DIST-USER, QL-GUNZIPPER, QL-HTTP, QL-IMPL,
  46.  QL-IMPL-UTIL, QL-INFO, QL-MINITAR, QL-NETWORK, QL-PROGRESS, QL-SETUP, QL-UTIL, QUICKLISP-CLIENT, READLINE, REGEXP, SCREEN, SYSTEM, a
  47.  constant, value: NIL, names a type, names a built-in foreign type, has 2 properties SYSTEM::INSTRUCTION, SYSTEM::TYPE-SYMBOL.
  48.  For more information, evaluate (SYMBOL-PLIST 'NIL).
  49.  
  50.   #<PACKAGE COMMON-LISP> [see above]
  51.  
  52.   NIL [see above]
  53.  
  54.  #1=#<WEAK-LIST (#<STANDARD-METHOD (#2=#<BUILT-IN-CLASS HASH-TABLE>)> #3=#<STANDARD-METHOD (#2# #4=#<BUILT-IN-CLASS STREAM>)>)> is a list of
  55.  GC-invisible pointers to #1=#<STANDARD-METHOD (#2=#<BUILT-IN-CLASS HASH-TABLE>)>,
  56.  #1=#<STANDARD-METHOD (#2=#<BUILT-IN-CLASS HASH-TABLE> #3=#<BUILT-IN-CLASS STREAM>)>.
  57.  
  58.  #1=(#2=#<BUILT-IN-CLASS T>) is a list of length 1.
  59.  
  60.  
  61.  #1=#S(HASH-TABLE :TEST STABLEHASH-EQ :WARN-IF-NEEDS-REHASH-AFTER-GC T (#2=#<BUILT-IN-CLASS T> . T) (#3=#<BUILT-IN-CLASS HASH-TABLE> . T)) is
  62.  an STABLEHASH-EQ hash table with 2 entries.
  63.  
  64.  #1=(#2=#<BUILT-IN-CLASS HASH-TABLE> #3=#<BUILT-IN-CLASS T>) is a list of length 2.
  65.  
  66.  #S(HASH-TABLE :TEST FASTHASH-EQ :WARN-IF-NEEDS-REHASH-AFTER-GC T) is an FASTHASH-EQ hash table with no entries.
  67.  
  68.  6 is an integer, uses 3 bits, is represented as a fixnum.
  69.  
  70. [27]>
Add Comment
Please, Sign In to add comment