def nats
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as Fixedimport Base
208def nats(xs: List<&2, U32>) -> List<&2, Nat>:
209 match xs:
210 case Nil{}:
211 Nil{}
212 case Con{x, t}:
213 Con{U32.to_nat(x), nats(t)}
Uses (4)
Used by (32)
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:FromBytes.be
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:FromBytes.le
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:ToBytes.be
- bend-collections-laws-math@1.0.0.0/spec/math/fixed:ToBytes.le
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/fixbytes:to_be32
- …