Skip to main content
Module

x/ramda/source/index.js>groupWith

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

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.