math-grads-0.1.6.7: Library containing graph data structures and graph algorithms

Safe HaskellSafe
LanguageHaskell2010

Math.Grads.Utils

Description

Different utility functions for usage in Math.Grads.

Synopsis

Documentation

nub :: (Ord a, Eq a) => [a] -> [a] Source #

nub that works in O(n log n) time.

subsets :: [a] -> [[a]] Source #

Returns all possible subsets of given list as list of lists.

uniter :: [a] -> [(a, a)] Source #

Zips list with its tail.