1
Fork 0

stdlib: Export only what's needed from std::sort

This commit is contained in:
Brian Anderson 2011-05-20 22:12:16 -04:00
parent 2fc0bedc83
commit 04ce99b83c

View file

@ -1,6 +1,10 @@
import vec::len;
import vec::slice;
export lteq;
export merge_sort;
export quick_sort;
type lteq[T] = fn(&T a, &T b) -> bool;
fn merge_sort[T](lteq[T] le, vec[T] v) -> vec[T] {