def Iroot.zero_degree

bend-collections-laws-crypto@1.0.0.0 · spec/math/natural.bend:223

import bend-collections-laws-crypto@1.0.0.0/spec/math/natural.bend as Natural
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/natural.bend as M

223# PDF 2.3: the zeroth root is a domain error
224def Iroot.zero_degree(+n: Nat) -> Type:
225  {M.iroot(n, 0n) == Fail{M.Domain{}} : Result<&2, &2, M.MathError, Nat>}

Uses (4)

Used by (1)