def enc_l

bendtorch@1.3.0.0 · dtype.bend:193

import bendtorch@1.3.0.0/dtype.bend as Dtype
import Base

193def enc_l(~f: F32 -> U32, xs: List<&2, F32>) -> List<&2, U32>:
194  match xs:
195    case Nil{}:
196      Nil{}
197    case Con{h, t}:
198      f(h) <> enc_l(~f, t)

Uses (3)

Used by (1)