sym-0.11: Permutations, patterns, and statistics

MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellSafe-Inferred

Sym.Internal.Util

Description

 

Synopsis

Documentation

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

The set of minimal elements with respect to inclusion.

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

The set of maximal elements with respect to the given order.

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.