Safe Haskell | None |
---|---|
Language | Haskell2010 |
A type to represent (flat) subdivisions of a part.
Documentation
A division represents a subset of a finite group of performers.
For example a group may be divided into three equal divisions,
designated (0, 3)
, (1, 3)
and (2, 3)
respectively.
getDivision :: Division -> (Int, Int) Source
divisions :: Int -> [Division] Source
Get all possible divisions for a given divisor in ascending order.
showDivision :: Division -> String Source
Show division in ordinary numerals.
showDivisionR :: Division -> String Source
Show division in roman numerals.