sym-0.11: Permutations, patterns, and statistics

MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellNone

Sym.Internal.SubSeq

Description

 

Synopsis

Documentation

type SubSeq = CLongArraySource

A SubSeq is represented by an increasing array of non-negative integers.

choose :: Int -> Int -> [SubSeq]Source

n `choose` k is the list of subsequences of [0..n-1] with k elements.