def ascii

mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:3578

import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base

3578# ASCII convenience only; binary inputs use sha256 directly.
3579def ascii(arg_s: String) -> List<&2, U32>:
3580  match arg_s:
3581    case SNil{}:
3582      Nil{}
3583    case SCon{Chr{c}, t}:
3584      c <> ascii(t)

Uses (4)

Used by (1)