7.5.4 GMap FSet Result Types

GMap result type: set  &key filterp

Returns a CHAMP set of the values, optionally filtered by filterp.

GMap result type: ch-set  &key filterp compare-fn-name

Returns a CHAMP set of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom organization.

GMap result type: wb-set  &key filterp compare-fn-name

Returns a WB-set of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom ordering.

GMap result type: union  &key filterp

Returns the union of the sets (or bags), optionally filtered by filterp.

GMap result type: intersection  &key filterp

Returns the intersection of the sets (or bags), optionally filtered by filterp. (If zero sets are supplied, returns the full set; see full-set.)

GMap result type: map  &key filter (default nil) no-default?

Consumes two values from the mapped function; returns a CHAMP map of the pairs. filterp, if supplied, must take two arguments. If default is supplied, that will be the map’s default; if no-default? is true, the map will have no default.

GMap result type: ch-map  &key filter (default nil) no-default? key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function; returns a CHAMP map of the pairs. filterp, if supplied, must take two arguments. default will be the map’s default; but if no-default? is true, the map will have no default. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).

GMap result type: wb-map  &key filter (default nil) no-default? key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function; returns a CHAMP map of the pairs. filterp, if supplied, must take two arguments. default will be the map’s default; but if no-default? is true, the map will have no default. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).

GMap result type: map-union &key val-fn (default nil) filterp

Returns the map-union of the values, optionally filtered by filterp. If val-fn is supplied, it is passed to map-union. default will be the map’s default; but if no-default? is true, the map will have no default.

GMap result type: map-intersection &key val-fn (default nil) filterp

Returns the map-intersection of the values, optionally filtered by filterp. If val-fn is supplied, it is passed to map-intersection. default will be the map’s default; but if no-default? is true, the map will have no default. If zero maps are intersected, returns nil (there’s no identity value for this operation).

GMap result type: map-to-sets  &key filterp key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function. Returns a map from the first values, with each one mapped to a set of the corresponding second values. If you supply val-compare-fn-name, to customize the organization of the range sets, the returned map will use eql-compare as its val-compare-fn. Also, filterp, if supplied, must take two arguments.

GMap result type: bag  &key filterp

Returns a CHAMP bag of the values, optionally filtered by filterp.

GMap result type: ch-bag  &key filterp compare-fn-name

Returns a CHAMP bag of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom organization.

GMap result type: wb-bag  &key filterp compare-fn-name

Returns a WB-bag of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom ordering.

GMap result type: bag-pairs  &key filterp

Consumes two values from the mapped function; returns a bag of the pairs. filterp, if supplied, must take two arguments.

GMap result type: ch-bag-pairs  &key filterp compare-fn-name

Consumes two values from the mapped function; returns a CHAMP bag of the pairs, optionally filtered by filterp. filterp, if supplied, must take two arguments. compare-fn-name can be supplied to specify a custom organization.

GMap result type: wb-bag-pairs  &key filterp compare-fn-name

Consumes two values from the mapped function; returns a WB-bag of the values, optionally filtered by filterp. filterp, if supplied, must take two arguments. compare-fn-name can be supplied to specify a custom ordering.

GMap result type: bag-sum  &key filterp

Returns the bag-sum of the values, optionally filtered by filterp.

GMap result type: bag-product  &key filterp

Returns the bag-product of the values, optionally filtered by filterp. (If zero bags are supplied, returns the full set, which contains every value with multiplicity 1; see full-set.)

GMap result type: seq  &key filterp
GMap result type: wb-seq  &key filterp

Returns a seq of the values, optionally filtered by filterp.

GMap result type: concat  &key filterp

Returns the concatenation of the seq values, optionally filtered by filterp.

GMap result type: tuple  &key filterp
GMap result type: dyn-tuple  &key filterp

Consumes two values from the mapped function; returns a dynamic tuple of the pairs.

GMap result type: replay-set  &key filterp

Returns a CHAMP replay-set of the values, optionally filtered by filterp.

GMap result type: ch-replay-set  &key filterp compare-fn-name

Returns a CHAMP replay-set of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom organization.

GMap result type: wb-replay-set  &key filterp compare-fn-name

Returns a WB-tree replay-set of the values, optionally filtered by filterp. compare-fn-name can be supplied to specify a custom ordering.

GMap result type: replay-map  &key filter default nil) no-default? key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function; returns a CHAMP map of the pairs. filterp, if supplied, must take two arguments. If default is supplied, that will be the map’s default; if no-default? is true, the map will have no default.

GMap result type: ch-replay-map  &key filter default nil) no-default?

Consumes two values from the mapped function; returns a CHAMP map of the pairs. filterp, if supplied, must take two arguments. If default is supplied, that will be the map’s default; if no-default? is true, the map will have no default. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).

GMap result type: wb-replay-map  &key filter default nil) no-default?

Consumes two values from the mapped function; returns a WB-tree map of the pairs. filterp, if supplied, must take two arguments. If default is supplied, that will be the map’s default; if no-default? is true, the map will have no default. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).

GMap result type: 2-relation  &key filterp

Consumes two values from the mapped function; returns a CHAMP binary relation of the pairs. filterp, if supplied, must take two arguments.

GMap result type: ch-2-relation  &key filterp key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function; returns a CHAMP binary relation of the pairs. filterp, if supplied, must take two arguments. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).

GMap result type: wb-2-relation  &key filterp key-compare-fn-name val-compare-fn-name

Consumes two values from the mapped function; returns a WB-tree binary relation of the pairs. filterp, if supplied, must take two arguments. key-compare-fn-name and val-compare-fn-name, if supplied, must be symbols naming the comparison functions to be used for keys and values respectively (these default to compare).