| Copyright | (c) OleksandrZhabenko 2020 |
|---|---|
| License | MIT |
| Maintainer | olexandr543@yahoo.com |
| Stability | Experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Phonetic.Languages.Permutations
Description
Commonly used versions of the phonetic-languages-common package functions.
Synopsis
- universalSetG :: (Eq a, Foldable t, InsertLeft t a, Monoid (t a), Monoid (t (t a))) => t a -> t (t a) -> (t a -> Vector a) -> (t (t a) -> Vector (Vector a)) -> Vector (Vector Int) -> Vector (Vector a) -> Vector (Vector a)
- universalSetGL :: (Eq a, Foldable t, InsertLeft t a, Monoid (t a), Monoid (t (t a))) => t a -> t (t a) -> (t a -> [a]) -> (t (t a) -> [[a]]) -> [Vector Int] -> Vector [a] -> [[a]]
- genPermutations :: Int -> Vector (Vector Int)
- genPermutationsV :: Vector (Vector (Vector Int))
- genPermutationsL :: Int -> [Vector Int]
- genPermutationsVL :: Vector [Vector Int]
Documentation
Arguments
| :: (Eq a, Foldable t, InsertLeft t a, Monoid (t a), Monoid (t (t a))) | |
| => t a | |
| -> t (t a) | |
| -> (t a -> Vector a) | The function that is used internally to convert to the boxed |
| -> (t (t a) -> Vector (Vector a)) | The function that is used internally to convert to the boxed |
| -> Vector (Vector Int) | The list of permutations of |
| -> Vector (Vector a) | |
| -> Vector (Vector a) |
Arguments
| :: (Eq a, Foldable t, InsertLeft t a, Monoid (t a), Monoid (t (t a))) | |
| => t a | |
| -> t (t a) | |
| -> (t a -> [a]) | The function that is used internally to convert to the |
| -> (t (t a) -> [[a]]) | The function that is used internally to convert to the needed representation so that the function can process further |
| -> [Vector Int] | The list of permutations of |
| -> Vector [a] | |
| -> [[a]] |