dobutokO-poetry-general-languages-0.2.0.0: Helps to order the 7 or less words to obtain somewhat suitable for poetry or music text

Copyright(c) OleksandrZhabenko 2020
LicenseMIT
StabilityExperimental
Safe HaskellNone
LanguageHaskell2010

DobutokO.Poetry.Languages.General.Debug

Description

Maintainer : olexandr543@yahoo.com

Helps to order the 7 or less words (or their concatenations) to obtain (to some extent) suitable for poetry or music text. Functions in this module behaves just like their corresponding from the General module with that difference of being more informative and printing more output with the lists and Vector. Because of that, printing the output on the one line is not needed and therefore the corresponding one line functions are omitted. Can be useful for debugging and exploration purposes. For all the used conversion functions of the type g :: String -> Vector String it is important that they are stable for the repeated application (their result after the first application cannon be changed by the rules in the function into new variants). Otherwise, the recursive scheme of the functions in the module will lead to wrong results. So the conversion function should work the following way (xs denotes a word in the language) in GHCi:

let v = g xs
let ys = concat . toList $ v 
let v2 = g ys
v == v2
True

Or in the other words, for the single word, g . concat . toList . g = g;

Synopsis

Documentation

uniqInMaxPoeticalN :: Int -> Vector ([Int] -> Int) -> UniqG -> IO UniqG Source #

Behaves like the function uniqInMaxPoeticalN, but prints more information for debugging and tuning purposes.

inner1 :: Int -> Vector ([Int] -> Int) -> UniqG -> IO ([Int], UniqG) Source #

Behaves like the function inner1, but prints more information for debugging and tuning purposes.

uniqInMaxPoeticalNL :: Vector ([Int] -> Int) -> UniqG -> IO UniqG Source #

Behaves like the function uniqInMaxPoeticalNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalN :: Int -> Int -> Vector ([Int] -> Int) -> UniqG -> IO () Source #

Behaves like the function uniqNPoeticalN, but prints more information for debugging and tuning purposes.

uniqNPoeticalNL :: Int -> Vector ([Int] -> Int) -> UniqG -> IO () Source #

Behaves like the function uniqNPoeticalNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalVN :: Int -> Int -> Vector ([Int] -> Int) -> UniqG -> IO UniqG Source #

Behaves like the function uniqNPoeticalVN, but prints more information for debugging and tuning purposes.

uniqNPoeticalVNL :: Int -> Vector ([Int] -> Int) -> UniqG -> IO UniqG Source #

Behaves like the function uniqNPoeticalVNL, but prints more information for debugging and tuning purposes.

uniqMaxPoeticalGNV :: Int -> Vector ([Int] -> Int) -> UniqG -> Uniqueness Source #

Behaves like the function uniqMaxPoeticalGNV, but prints more information for debugging and tuning purposes.

uniqMaxPoeticalGNVL :: Vector ([Int] -> Int) -> UniqG -> Uniqueness Source #

Behaves like the function uniqMaxPoeticalGNVL, but prints more information for debugging and tuning purposes.

uniquenessVariantsGN :: [String] -> (String -> Vector String) -> Preapp -> Vector ([Int] -> Int) -> String -> Vector Uniqueness Source #

Behaves like the function uniquenessVariantsGN, but prints more information for debugging and tuning purposes.

uniqMaxPoeticalGN :: [String] -> (String -> Vector String) -> Preapp -> Int -> Vector ([Int] -> Int) -> String -> Uniqueness Source #

Behaves like the function uniqMaxPoeticalGN, but prints more information for debugging and tuning purposes.

uniqMaxPoeticalGNL :: [String] -> (String -> Vector String) -> Preapp -> Vector ([Int] -> Int) -> String -> Uniqueness Source #

Behaves like the function uniqMaxPoeticalGNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalG :: [String] -> (String -> Vector String) -> Preapp -> Int -> ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniqNPoeticalG, but prints more information for debugging and tuning purposes.

uniq10PoeticalG :: [String] -> (String -> Vector String) -> Preapp -> ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniq10PoeticalG, but prints more information for debugging and tuning purposes.

uniq10Poetical4 :: [String] -> (String -> Vector String) -> Preapp -> String -> IO () Source #

Behaves like the function uniq10Poetical4, but prints more information for debugging and tuning purposes.

uniq10Poetical5 :: [String] -> (String -> Vector String) -> Preapp -> String -> IO () Source #

Behaves like the function uniq10Poetical5, but prints more information for debugging and tuning purposes.

uniqNPoeticalGN :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Vector ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniqNPoeticalGN, but prints more information for debugging and tuning purposes.

uniqNPoeticalGNL :: [String] -> (String -> Vector String) -> Preapp -> Int -> Vector ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniqNPoeticalGNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalVGN :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Vector ([Int] -> Int) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoeticalVGN, but prints more information for debugging and tuning purposes.

uniqNPoeticalVGNL :: [String] -> (String -> Vector String) -> Preapp -> Int -> Vector ([Int] -> Int) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoeticalVGNL, but prints more information for debugging and tuning purposes.

uniqMaxPoetical2GN :: [String] -> (String -> Vector String) -> Preapp -> Int -> Vector ([Int] -> Int) -> (String -> [Int]) -> String -> Uniqueness Source #

Behaves like the function uniqMaxPoetical2GN, but prints more information for debugging and tuning purposes.

uniqMaxPoetical2GNL :: [String] -> (String -> Vector String) -> Preapp -> Vector ([Int] -> Int) -> (String -> [Int]) -> String -> Uniqueness Source #

Behaves like the function uniqMaxPoetical2GNL, but prints more information for debugging and tuning purposes.

uniqNPoetical2GN :: Preapp -> Int -> Int -> Vector ([Int] -> Int) -> (String -> [Int]) -> String -> IO () Source #

Behaves like the function uniqNPoetical2GN, but prints more information for debugging and tuning purposes.

uniqNPoetical2GNL :: Preapp -> Int -> Vector ([Int] -> Int) -> (String -> [Int]) -> String -> IO () Source #

Behaves like the function uniqNPoetical2GNL, but prints more information for debugging and tuning purposes.

uniqNPoetical2VGN :: Preapp -> Int -> Int -> Vector ([Int] -> Int) -> (String -> [Int]) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoetical2VGN, but prints more information for debugging and tuning purposes.

uniqNPoetical2VGNL :: Preapp -> Int -> Vector ([Int] -> Int) -> (String -> [Int]) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoetical2VGNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGN_ :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Int -> Vector ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniqNPoeticalUGN_, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGNL_ :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Vector ([Int] -> Int) -> String -> IO () Source #

Behaves like the function uniqNPoeticalUGNL_, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGN :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Int -> Vector ([Int] -> Int) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoeticalUGN, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGNL :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> Vector ([Int] -> Int) -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoeticalUGNL, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGN51_ :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> String -> IO () Source #

Behaves like the function uniqNPoeticalUGN51_, but prints more information for debugging and tuning purposes.

uniqNPoeticalUGN51 :: [String] -> (String -> Vector String) -> Preapp -> Int -> Int -> UniqG -> String -> IO UniqG Source #

Behaves like the function uniqNPoeticalUGN51, but prints more information for debugging and tuning purposes.