def line
cswap-bend-cli@0.1.0.0 · profview.bend:172
import cswap-bend-cli@0.1.0.0/profview.bend as Profview
import Base
import cswap-bend-cli@0.1.0.0/setwrite.bend as Setwrite
172def line(+w: Widths, +r: Row) -> String:
173 match w r:
174 case Widths{wn, ws, wt, wm, wc, wi} Row{m, n, s, t, ms, c, i, src}:
175 m ++ " " ++ Setwrite.pad(n, wn) ++ " " ++ Setwrite.pad(s, ws) ++ " " ++ Setwrite.pad(t, wt) ++ " " ++ Setwrite.pad(ms, wm) ++ " " ++ Setwrite.pad(c, wc) ++ " " ++ Setwrite.pad(i, wi) ++ " " ++ src