def lcons
import bend-schema-lib@0.4.1.0/core.bend as Coreimport Base
1545def lcons(-A: Data, h: Maybe<&2, A>, t: Maybe<&2, List<&2, A>>) -> Maybe<&2, List<&2, A>>:
1546 match h t:
1547 case Some{x} Some{xs}:
1548 Some{x <> xs}
1549 case _ _:
1550 None{}