Splits range by a given predicate F.
The function predicate to split range by.
The range to be split by the predicate F.
An array of A containing range after split by F.
See Implementation
Splits range by a given predicate F.