generic.single vocabulary
Factor handbook ยป Vocabulary index


Summary
Single combination used for single dispatch

Metadata
Parents:generic
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
echelon-dispatch-engine tuplen methods
inconsistent-next-method tupleclass generic
no-method tupleobject generic
predicate-engine tupleclass methods
single-combination tuple
tag-dispatch-engine tuplemethods
tuple-dispatch-engine tupleechelons
unreachable tuple


Predicate classes
ClassSuperclass
predicate-engine-word word
single-generic generic


Generic words
WordStack effect
compile-engine( engine -- obj )
dispatch#( word -- n )
inline-cache-quots( word methods -- pic-quot/f pic-tail-quot/f )
mega-cache-quot( methods -- quot/f )
picker( -- quot )


Symbol words
assumed
combination
default
generic-word
predicate-engines


Ordinary words
WordStack effect
<echelon-dispatch-engine>( n methods -- echelon-dispatch-engine )
<engine>( assoc -- engine )
<predicate-engine-word>( -- word )
<predicate-engine>( class methods -- predicate-engine )
<tag-dispatch-engine>( methods -- tag-dispatch-engine )
<tuple-dispatch-engine>( methods -- engine )
build-decision-tree( generic -- methods )
build-fast-hash( methods -- buckets )
class-predicates( assoc -- assoc )
compile-engines( assoc -- assoc' )
compile-engines*( assoc -- assoc' )
compile-predicate-engine( engine -- word )
convert-methods( assoc class word -- assoc' )
convert-tuple-inheritance( assoc -- assoc' )
convert-tuple-methods( assoc -- assoc' )
copy-superclass-methods( engine superclass assoc -- )
copy-superclasses-methods( class engine assoc -- )
define-inline-cache-quot( word methods -- )
define-predicate-engine( alist -- word )
direct-dispatch-table( assoc n -- table )
echelon-sort( assoc -- assoc' )
find-default( methods -- default )
find-predicate-engine( classes -- word )
flatten-method( method class assoc -- )
flatten-methods( assoc -- assoc' )
inconsistent-next-method( class generic -- * )
keep-going?( assoc -- ? )
method-for-object( obj word -- method )
methods-with-default( engine -- assoc )
next-predicate-engine( engine -- word )
no-method( object generic -- * )
prune-redundant-predicates( assoc -- default assoc' )
push-echelon( class method assoc -- )
push-method( method class atomic assoc -- )
quote-methods( assoc -- assoc' )
sort-methods( assoc -- assoc' )
split-methods( assoc class -- first second )
tag-number( class -- n )
unreachable( -- * )
with-combination( combination quot -- )


Class predicate words
WordStack effect
echelon-dispatch-engine?( object -- ? )
inconsistent-next-method?( object -- ? )
no-method?( object -- ? )
predicate-engine-word?( object -- ? )
predicate-engine?( object -- ? )
single-combination?( object -- ? )
single-generic?( object -- ? )
tag-dispatch-engine?( object -- ? )
tuple-dispatch-engine?( object -- ? )
unreachable?( object -- ? )


Files


Metadata files