sort!linear-update variant of sort.
Like sort, this comes with conflicting APIs.
[procedure] sort! sequence predicate
SLIB, Chicken: sequence can be a list or a vector. Expects predicate
to behave like <. Stable.
[procedure] sort! predicate list
ChezScheme: sequence must be a list. Expects predicate
to behave like <.
See also sort, merge!.
|