def chomp_end

cli@0.2.0.0 · run.bend:31

import cli@0.2.0.0/run.bend as Run
import Base

31def chomp_end(newline: Bool, c: Char) -> String:
32  match newline:
33    case True{}: SNil{}
34    case False{}: SCon{c, SNil{}}

Uses (3)

Used by (1)