def style_codes

cli@0.2.0.0 · cli.bend:39

import cli@0.2.0.0/cli.bend as Cli
import Base

39def style_codes(styles: List<&2, Style>) -> String:
40  match styles:
41    case Nil{}: ""
42    case h <> t:
43      String.append(style_code(h), style_codes_tail(t))

Uses (6)

Used by (1)