def when.day
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
1044# the day
1045def when.day(cs: List<&2, Char>, yy: U32, mo: U32) -> WhenOut:
1046 match cs:
1047 case []:
1048 WFail{"invalid date"}
1049 case +c <> t:
1050 when.day.go(Char.is_eq(c, '-'), take.n(2n, t, 0, True{}), yy, mo)