assocs.lib: remove old code

db4
Eduardo Cavazos 2008-07-12 15:49:14 -05:00
parent 80a38f8990
commit 44c2b9823d
1 changed files with 2 additions and 7 deletions

View File

@ -1,13 +1,8 @@
USING: arrays assocs kernel vectors sequences namespaces
random math.parser math fry ;
random math.parser math fry ;
IN: assocs.lib
: ref-at ( table key -- value ) swap at ;
: put-at* ( table key value -- ) swap rot set-at ;
: put-at ( table key value -- table ) swap pick set-at ;
: set-assoc-stack ( value key seq -- )
dupd [ key? ] with find-last nip set-at ;