import { partition } from "https://deno.land/x/ramda@v0.27.2/mod.ts";
Takes a predicate and a list or other Filterable
object and returns the
pair of filterable objects of the same type of elements which do and do not
satisfy, the predicate, respectively. Filterable objects include plain objects or any object
that has a filter method such as Array
.