smartGroup-0.1.0: group strings by words in common

SmartGroup

Synopsis

Documentation

groupAll :: Ord a => Int -> (a -> String) -> [a] -> [[a]]Source

Divide list into as many groups as possible

groupNum :: Ord a => Int -> Int -> (a -> String) -> [a] -> [[a]]Source

Divide list into about n different groups

groupLog :: Ord a => Int -> (a -> String) -> [a] -> [[a]]Source

Divide list into groups such that the amount of groups equals the log of the number of elements