import { partition } from "https://deno.land/x/froebel@v0.18.0/list.ts";
Takes a list
and returns a pair of lists containing: the elements that
match the predicate
and those that don't, respectively.
Think of it as filter
, but the elements that don't pass the filter aren't
discarded but returned in a separate list instead.