(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Since version 2.8.0) use iterator' instead
(Since version 2.8.0) use head' instead
(Since version 2.8.0) use headOption' instead
(Since version 2.8.0) use view' instead
Bounded priority queue. This class wraps the original PriorityQueue class and modifies it such that only the top K elements are retained. The top K elements are defined by an implicit Ordering[A].