def month_from
import cswap-bend-cli@0.1.0.0/daemon/sess.bend as Sessimport Base
87def month_from(+ms: List<&2, String>, +m: String, +i: U32) -> Maybe<&2, U32>:
88 match ms:
89 case Nil{}:
90 None{}
91 case Con{h, t}:
92 month_hit(String.eq(h, m), i, month_from(t, m, (i + 1 : U32)))