Snippets created by Matthew Rodatus

  • List.groupWhile function

    This snippet declares a function that operates on lists that groups elements of a sequence while the predicate holds. A new group is started for an element when the predicate no longer holds. The predicate is passed the current element and the previous element. This implementation is likely not very efficient.

    0 people like this

    Posted: 5 years ago by Matthew Rodatus