def log_each

cswap-bend-cli@0.1.0.0 · tui/view.bend:244

import cswap-bend-cli@0.1.0.0/tui/view.bend as View
import Base
import cswap-bend-cli@0.1.0.0/tui/fmt.bend as F
import cswap-bend-cli@0.1.0.0/tui/card.bend as C

244def log_each(+ls: List<&2, String>) -> List<&2, List<&2, F.Seg>>:
245  match ls:
246    case Nil{}:
247      Nil{}
248    case Con{l, t}:
249      Con{[C.muted("  " ++ l)], log_each(t)}

Uses (5)

Used by (1)