Returning keys/values as sets/bags? taylanbayirli@xxxxxx (08 Sep 2015 15:16 UTC)
Re: Returning keys/values as sets/bags? John Cowan (08 Sep 2015 16:59 UTC)
Re: Returning keys/values as sets/bags? taylanbayirli@xxxxxx (08 Sep 2015 17:16 UTC)

Returning keys/values as sets/bags? taylanbayirli@xxxxxx 08 Sep 2015 15:16 UTC

It makes "logical" sense to return the keys and values from
hash-table-keys and hash-table-values as sets and bags respectively,
since they have no order.

I wouldn't do this in an API of mine because of my usual opinions (see
SRFI-126 proposal), but maybe it would be suitable in this SRFI.

Or maybe you don't want to intermingle your APIs *that* much (keep
dependency limited to SRFI-114) or don't want to do it for some other
reasons...  The idea just occurred to me so I thought I'd throw it out.

Taylan