def words

stelliferous@0.0.2.0 · tensor_file.bend:68

import stelliferous@0.0.2.0/tensor_file.bend as TensorFile
import Base

68def words(whole: Bool,bytes: List<&2,U32>,+word: U32,+weight: U32) -> Words:
69  match whole:
70    case True{}: quads(bytes,[],0)
71    case False{}: trickle(bytes,Words{[],0,word,weight})

Uses (6)

Used by (1)