def chomp_end
import cli@0.2.0.0/run.bend as Runimport Base
31def chomp_end(newline: Bool, c: Char) -> String:
32 match newline:
33 case True{}: SNil{}
34 case False{}: SCon{c, SNil{}}
import cli@0.2.0.0/run.bend as Runimport Base
31def chomp_end(newline: Bool, c: Char) -> String:
32 match newline:
33 case True{}: SNil{}
34 case False{}: SCon{c, SNil{}}