def strip
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as Genericimport Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
227def strip(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +x: T) -> T:
228 strip_go(~T, ~op, ~test, fuel(), (x, test(N.Odd{x})))
Uses (6)
Used by (5)
- bend-collections-laws-math@1.0.0.0/src/math/generic:bloop
- bend-collections-laws-math@1.0.0.0/src/math/generic:tw
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64bgcd:sim_strip
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64bgcd:sim_bloop
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64bgcd:sim_exit