def parse

cswap-bend-cli@0.1.0.0 · fmt/toon.bend:63

import cswap-bend-cli@0.1.0.0/fmt/toon.bend as Toon
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import bend-toon-codec@0.1.0.0/main.bend as Toon

63# The value of TOON text (strict mode); `Fail` starts with the line number.
64def parse(s: String) -> Result<&2, &2, String, Json.Json>:
65  lift(Toon.decode(s, Toon.decode_default()))

Uses (6)

Used by (2)