def trim.back.at

ezx@1.11.0.0 · src/pkg/pkg.bend:91

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

91# a character kept before the rest of a line with its trailing blanks
92# dropped. The character goes too when it is blank and nothing follows it.
93def trim.back.at(gone: Bool, head: Char, rest: String) -> String:
94  match gone:
95    case True{}:
96      SNil{}
97    case False{}:
98      SCon{head, rest}

Uses (3)

Used by (1)