def Abs.identity

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

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

196# unsigned: |x| is x
197def Abs.identity(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +x: T) -> Type:
198  {G.abs(~T, ~op, ~test, x) == x : T}

Uses (4)

Used by (1)