Copyright | (c) OleksandrZhabenko 2020 |
---|---|
License | MIT |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Maintainer : olexandr543@yahoo.com
Generalization of the functionality of the DobutokO.Poetry.Norms
and DobutokO.Poetry.Norms.Extended modules
from the dobutokO-poetry
package.
Synopsis
- diverse :: Eq a => UniquenessGeneral2 a -> Int
Documentation
:: Eq a | |
=> UniquenessGeneral2 a | Is gotten after the application of the |
-> Int | The resulting value. |
The function is inteded to be used after uniquenessPeriodsVector2
application to obtain the first argument. So generally, it is used as follows:
diverse . uniquenessPeriodsVector2 y whspss $ v
The maximum value of the function corresponds to possibly more smoothly changing and mixing elements in the list. If they are used to represent
sounds (especially some text, may be poetic) then the resulting maximum possible diverse
value corresponds to more "diverse" (phonetically) text intervals.
Is somewhat similar to the norm4
function from the DobutokO.Poetyr.Norms module from dobutokO-poetry
package
See: https://hackage.haskell.org/package/dobutokO-poetry-general-0.1.0.0/docs/DobutokO-Poetry-Norms.html.