Property.check: def of bend-kit-property@0.4.0.0 Import: import bend-kit-property@0.4.0.0/property.bend as Property Lines 102-106 of bend-kit-property@0.4.0.0/property.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-property@0.4.0.0/property.bend&start_line=102&end_line=106 import Base import bend-kit-random@0.1.0.1/random.bend as Rand # Return the first failure and its smallest reachable counterexample. def check(~T: Type, ~gen: Rand.Rng -> T & Rand.Rng, ~copy: T -> T & T, ~shrink: T -> List<&1, T>, ~test: T -> T & Bool, +seed: U32, trials: Nat) -> Maybe<&1, Failure>: check.start(~T, ~gen, ~copy, ~shrink, ~test, trials, seed, Rand.seed(seed)) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-property@0.4.0.0/property.bend&name=Failure https://jend.leeeet.dev/definition.txt?path=bend-kit-property@0.4.0.0/property.bend&name=check.start https://jend.leeeet.dev/definition.txt?path=bend-kit-random@0.1.0.1/random.bend&name=Rng https://jend.leeeet.dev/definition.txt?path=bend-kit-random@0.1.0.1/random.bend&name=seed