sym-0.13.0: Permutations, patterns, and statistics

CopyrightAnders Claesson 2014
MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellSafe
LanguageHaskell98

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.