def ok
import bend-collections@1.0.0.0/src/math/generic.bend as Genericimport Base
import bend-collections@1.0.0.0/src/math/num.bend as N
29def ok(-T: Data, m: Maybe<&2, T>) -> Result<&2, &2, N.NumError, T>:
30 match m:
31 case None{}:
32 Fail{N.Overflow{}}
33 case Some{x}:
34 Done{x}