fact: Definition listToMaybe `(xs : list a) : Maybe (list a) := match xs with | [] => Nothing | _ => Just xs end.
imports: Coq.Lists.List Equations(Equations) Equations.Type.EqDec Category.Lib Category.Theory.Coq.Functor Category.Theory.Coq.Applicative Category.Theory.Coq.Monad Category.Theory.Coq.Maybe Coq.Lists.List