phonetic-languages-permutations-array-0.3.0.1: Permutations and universal set related functions for the phonetic-languages series
Copyright(c) OleksandrZhabenko 2020-2021
LicenseMIT
Maintainerolexandr543@yahoo.com
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

Phonetic.Languages.Permutations.Arr

Description

Permutations and universal set functions for the phonetic-languages series of packages. This module uses no vectors, but instead uses arrays.

Synopsis

Documentation

universalSetGL Source #

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 [a] so that the function can process further the permutations

-> (t (t a) -> [[a]])

The function that is used internally to convert to the needed representation so that the function can process further

-> [Array Int Int]

The list of permutations of Int indices starting from 0 and up to n (n is probably less than 7).

-> Array Int [a] 
-> [[a]] 

A key point of the evaluation -- the universal set of the task represented as a [[a]].