def draw.pair

bend-kit-property@0.4.0.0 · property.bend:61

import bend-kit-property@0.4.0.0/property.bend as Property
import Base
import bend-kit-random@0.1.0.1/random.bend as Rand

61def draw.pair(~T: Type, ~test: T -> T & Bool, pair: T & Rand.Rng) -> (T & Bool) & Rand.Rng:
62  (sample, next) = pair
63  (test(sample), next)

Uses (4)

Used by (1)