group each…in|of_§by_

Definitions:

expression phrase ⇒ tuple, block phrase ⇒ []→⊤
Source: /avail/Avail/Foundation/Maps
Categories: Collections, Tuples, Maps, Transformers
Categorize the elements of aTuple via discriminator.
Position Name Type Description
Parameters
1 aTuple expression phrase ⇒ tuple An expression phrase that yields the tuple to categorize.
2 discriminator block phrase ⇒ []→⊤ A zero-argument block phrase that represents the body of the function that accepts each element of the tuple and answers a value that represents the group to which the element belongs.
Returns send phrase ⇒ map A map whose keys describe groups and whose elements are the groups themselves, i.e., the tuples of elements that constitute the described group.
expression phrase ⇒ set, block phrase ⇒ []→⊤
Source: /avail/Avail/Foundation/Maps
Categories: Collections, Sets, Maps, Transformers
Categorize the elements of aTuple via discriminator.
Position Name Type Description
Parameters
1 aSet expression phrase ⇒ set An expression phrase that yields the set to categorize.
2 discriminator block phrase ⇒ []→⊤ A zero-argument block phrase that represents the body of the function that accepts each element of the set and answers a value that represents the group to which the element belongs.
Returns send phrase ⇒ map A map whose keys describe groups and whose elements are the groups themselves, i.e., the sets of elements that constitute the described group.