import { Transformer } from "https://deno.land/x/rimbu@0.12.3/mod.ts";
const { distinctPrevious } = Transformer;
Returns a transformer that returns only those elements from the input that are different to previous element
according to the optionally given eq
function.