def tz.event.select
import bend-kit-time@0.3.0.0/time.bend as Timeimport Base
import bend-kit-int@0.2.0.0/int.bend as Int
1080def tz.event.select(newer: Bool, old: Maybe<&2, TzEvent>, when: Int.I64, dst: Bool) -> Maybe<&2, TzEvent>:
1081 match newer:
1082 case True{}:
1083 Some{TzEvent{when, dst}}
1084 case False{}:
1085 old