def Iroot.zero_degree
import bend-collections-laws-math@1.0.0.0/spec/math/natural.bend as Naturalimport Base
import bend-collections-laws-math@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>}