def of_string

bend-osdev-bytes@0.1.1.0 · bytes.bend:208

import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytes
import Base

208def of_string(s: String) -> List<&2, U32>:
209  match s:
210    case SNil{}:
211      Nil{}
212    case SCon{Chr{c}, t}:
213      Con{byte(c), of_string(t)}

Uses (5)

Used by (7)