hashtable-clear-copy taylanbayirli@xxxxxx (11 Sep 2015 14:52 UTC)
Re: hashtable-clear-copy John Cowan (11 Sep 2015 14:58 UTC)
Re: hashtable-clear-copy taylanbayirli@xxxxxx (11 Sep 2015 15:36 UTC)
Re: hashtable-clear-copy Arthur A. Gleckler (11 Sep 2015 16:39 UTC)
Re: hashtable-clear-copy John Cowan (11 Sep 2015 16:47 UTC)
Re: hashtable-clear-copy John Cowan (12 Sep 2015 06:11 UTC)

Re: hashtable-clear-copy John Cowan 11 Sep 2015 16:47 UTC

Arthur A. Gleckler scripsit:

> It's a common pattern to iterate over one or more hash tables, constructing
> a new one out of a combination of their keys and values, e.g. in
> intersection and union operations.  It's nice to be able to construct a
> like hash table, but empty, without having to deal with what type of hash
> table explicitly.  This operation is perfect for that.

Indeed it is.  So that wasn't the reason I suppressed it; I no longer
remember quite why.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
BALIN FUNDINUL          UZBAD KHAZADDUMU
BALIN SON OF FUNDIN     LORD OF KHAZAD-DUM