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

docs(NonEmpty/group): Remove cycle from group haddock example

parent 010fb784
No related branches found
No related tags found
No related merge requests found
......@@ -400,8 +400,8 @@ partition p = List.partition p . toList
-- 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" : ...
-- > group "Mississippi"
-- > = "M" : "i" : "ss" : "i" : "ss" : "i" : "pp" : "i" : []
group :: (Foldable f, Eq a) => f a -> [NonEmpty a]
group = groupBy (==)
......
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