- partition(:Pred, +List, ?Included, ?Excluded) is det
- Filter elements of List according to Pred. True if Included
contains all elements for which
call(Pred, X)
succeeds and
Excluded contains the remaining elements.
- See also
- - include/3, exclude/3, partition/5.