def cookie.date.fold

bend-kit-http@0.38.2.0 · http.bend:2120

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

2120def cookie.date.fold(ts: List<&2, String>, st: Cdate) -> Cdate:
2121  match ts:
2122    case Nil{}:
2123      st
2124    case Con{+tok, rest}:
2125      Cdate{t, d, m, y} = st
2126      cookie.date.fold(rest, cookie.date.time.try(t, tok, d, m, y))

Uses (4)

Used by (1)