diff --git a/basis/persistent/hashtables/hashtables.factor b/basis/persistent/hashtables/hashtables.factor index 256baabd5e..0159cab593 100644 --- a/basis/persistent/hashtables/hashtables.factor +++ b/basis/persistent/hashtables/hashtables.factor @@ -23,7 +23,8 @@ M: persistent-hash at* M: persistent-hash new-at ( value key assoc -- assoc' ) [ - { [ 0 ] [ ] [ dup hashcode >fixnum ] [ root>> ] } spread + [ 0 ] 3dip + [ dup hashcode >fixnum ] [ root>> ] bi* (new-at) 1 0 ? ] [ count>> ] bi + persistent-hash boa ;