Gospel.UtilsSourcesplit_at_f f l is the partition (l1, l2) such that l1 is the longest prefix where the predicate f holds. The order of the elements is not changed.
split_at_i i l is the partition (l1, l2) such that l1 contains the first i elements. The order of the elements is not changed.