def zst

bend-collections-laws-math@1.0.0.0 · src/math/generic.bend:196

import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as Generic
import Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N

196# (x, x == 0)
197def zst(~T: Data, ~test: N.Test<T> -> Bool, +x: T) -> T & Bool:
198  (x, test(N.IsZero{x}))

Uses (4)

Used by (8)