Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SP a b = SP !a !b
- uniquePairs :: [a] -> [SP a a]
- nonEmptyTails :: [a] -> [[a]]
- data ST a b c = ST !a !b !c
- uniqueTriplets :: [a] -> [ST a a a]
Documentation
SP !a !b |
uniquePairs :: [a] -> [SP a a] Source #
Given a list xs, generate all unique (unordered) pairs.
nonEmptyTails :: [a] -> [[a]] Source #
ST !a !b !c |
uniqueTriplets :: [a] -> [ST a a a] Source #
All unieuqe unordered triplets.