def unquote

gralha-text-scan@0.1.0.1 · scan.bend:277

import gralha-text-scan@0.1.0.1/scan.bend as Scan
import Base

277def unquote(+s: String) -> String:
278  branch(String, prefix(s, "'"), _ => scan.head(until(drop(s, "'"), 39, "")),
279    _ => branch(String, prefix(s, "\""), _ => scan.head(until(drop(s, "\""), 34, "")), _ => s))

Uses (6)

Used by (5)