Skip to content
Snippets Groups Projects
Commit dfcf629c authored by Owen Shepherd's avatar Owen Shepherd :guitar: Committed by Marge Bot
Browse files

docs(NonEmpty/group): Specify final property of group function in haddock

parent d134d1de
No related branches found
No related tags found
No related merge requests found
......@@ -398,7 +398,9 @@ partition p = List.partition p . toList
-- | 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:
-- contains only equal elements, and consecutive equal elements
-- of the input end up in the same stream of the output list.
-- For example, in list notation:
--
-- >>> group "Mississippi"
-- ["M", "i", "ss", "i", "ss", "i", "pp", "i"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment