import { SortedSetInternal } from "@tsplus/stdlib/collections/SortedSet/_internal/SortedSetInternal"
/**
* @tsplus static SortedSet.Ops from
*/
export function from_(
ord: Ord
): (
iterable: Collection
) => SortedSet {
return (
iterable: Collection
) => new SortedSetInternal(RedBlackTree.from(ord)(iterable.map((_) => [_, true])))
}
/**
* @tsplus static SortedSet.Aspects from
*/
export const from = Pipeable(from_)