Snippets created by Thorsten Meinecke

  • Seq.groupAfter function

    This snippet is basically the same as, except that the element whose predicate holds ends the previous group and the element after it starts a new one. Those two snippets (Seq.groupWhen, Seq.groupAfter) would be generally equivalent to the Haskell functions 'breakBefore' and 'breakAfter' from Data.List.Grouping.

    0 people like this

    Posted: 5 years ago by Thorsten Meinecke