def when.clock.colon

emerging-eztoml@0.9.0.0 · main.bend:893

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

893# the colon after the hour
894def when.clock.colon(cs: List<&2, Char>, hh: U32, date: Date) -> WhenOut:
895  match cs:
896    case []:
897      WFail{"invalid time"}
898    case +c <> t:
899      when.clock.colon.go(Char.is_eq(c, ':'), hh, t, date)

Uses (7)

Used by (1)