hash-table-union! Arthur A. Gleckler (11 Sep 2015 22:27 UTC)
Re: hash-table-union! Arthur A. Gleckler (11 Sep 2015 22:55 UTC)
Re: hash-table-union! John Cowan (12 Sep 2015 05:58 UTC)
Re: hash-table-union! Arthur A. Gleckler (12 Sep 2015 15:25 UTC)
Re: hash-table-union! John Cowan (12 Sep 2015 15:44 UTC)
Re: hash-table-union! Arthur A. Gleckler (12 Sep 2015 16:24 UTC)

Re: hash-table-union! John Cowan 12 Sep 2015 05:58 UTC

Arthur A. Gleckler scripsit:

> It would be nice to have a functional version of hash-table-union! with
> this signature:

With -copy, the functional versions are one-liners.

> In fact, the imperative version should take an optional merge-proc, too,
> rather than just overwriting the second hash table's values.  That would
> make it handle many more use cases.

What are these use cases of which you speak?

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
Your worships will perhaps be thinking that it is an easy thing
to blow up a dog? [Or] to write a book?
    --Don Quixote, Introduction