assoc
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping protocol

Next:assoc? ( object -- ? )


Vocabulary
assocs

Class description
A mixin class whose instances are associative mappings. Custom implementations of the assoc protocol should be declared as instances of this mixin for all assoc functionality to work correctly:
INSTANCE: avl-tree assoc


Definition


Methods
















M: assoc >post-data
"application/x-www-form-urlencoded" <post-data> swap
>>params ;



























M: assoc g drop "assoc" ;