export function sample<T>(
    prob: number,
    rnd: IRandom,
    src: Iterable<T>
): IterableIterator<T>;