group package:rio

The group function takes a ByteString and returns a list of ByteStrings such that the concatenation of the result is equal to the argument. Moreover, each sublist in the result contains only equal elements. For example,
group "Mississippi" = ["M","i","ss","i","ss","i","pp","i"]
It is a special case of groupBy, which allows the programmer to supply their own equality test. It is about 40% faster than groupBy (==)
The group function takes a ByteString and returns a list of ByteStrings such that the concatenation of the result is equal to the argument. Moreover, each sublist in the result contains only equal elements. For example,
group "Mississippi" = ["M","i","ss","i","ss","i","pp","i"]
It is a special case of groupBy, which allows the programmer to supply their own equality test.
The group function takes a list and returns a list of lists such that the concatenation of the result is equal to the argument. Moreover, each sublist in the result contains only equal elements. For example,
>>> group "Mississippi"
["M","i","ss","i","ss","i","pp","i"]
It is a special case of groupBy, which allows the programmer to supply their own equality test.
The group function takes a stream and returns a list of streams such that flattening the resulting list is equal to the argument. Moreover, each stream in the resulting list contains only equal elements. For example, in list notation:
'group' $ 'cycle' "Mississippi"
= "M" : "i" : "ss" : "i" : "ss" : "i" : "pp" : "i" : "M" : "i" : ...
O(n) Group characters in a string by equality.
The group function takes a Text and returns a list of Texts such that the concatenation of the result is equal to the argument. Moreover, each sublist in the result contains only equal elements. For example,
group "Mississippi" = ["M","i","ss","i","ss","i","pp","i"]
It is a special case of groupBy, which allows the programmer to supply their own equality test.
The groupBy function is the non-overloaded version of group.
The groupBy function is the non-overloaded version of group.
group1 operates like group, but uses the knowledge that its input is non-empty to produce guaranteed non-empty output.
groupAllWith operates like groupWith, but sorts the list first so that each equivalence class has, at most, one list in the output
groupBy operates like group, but uses the provided equality predicate instead of ==.
groupBy1 is to group1 as groupBy is to group.
groupWith operates like group, but uses the provided projection when comparing for equality
O(n) Group characters in a string according to a predicate.
The groupBy function is the non-overloaded version of group.
The class of semigroups (types with an associative binary operation). Instances should satisfy the following:
  • Associativity x <> (y <> z) = (x <> y) <> z
Set the child process's group ID with the POSIX setgid syscall, does nothing on non-POSIX. See child_group. Default: False
Should we create a new process group? Default: False