def code.cut

bolt@1.27.0.0 · src/rules/tokens.bend:18

import bolt@1.27.0.0/src/rules/tokens.bend as Tokens
import Base

18# a text cut to its first char
19def code.cut(tt: String) -> String:
20  match tt:
21    case SNil{}:
22      SNil{}
23    case SCon{h, _t}:
24      SCon{h, SNil{}}

Uses (1)

Used by (1)