sym-0.14.0: Permutations, patterns, and statistics
CopyrightAnders Claesson 2014
MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sym.Internal.Util

Description

 
Synopsis

Documentation

minima :: Ord a => [Set a] -> [Set a] Source #

The list of minimal sets with respect to inclusion.

maxima :: Ord a => [Set a] -> [Set a] Source #

The list of maximal sets with respect to inclusion.

kSubsets :: Ord a => Int -> Set a -> [Set a] Source #

A list of all k element subsets of the given set.

powerset :: Ord a => Set a -> [Set a] Source #

A list of all subsets of the given set.

nubSort :: Ord a => [a] -> [a] Source #

Sort and remove duplicates.