Skip to main content
Module

x/ramda/mod.ts>groupWith

:ram: Practical functional Javascript
Latest
variable groupWith
import { groupWith } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Takes a list and returns a list of lists where each sublist's elements are all satisfied pairwise comparison according to the provided function. Only adjacent elements are passed to the comparison function.