Copyright | (c) OleksandrZhabenko 2021 |
---|---|
License | MIT |
Maintainer | olexandr543@yahoo.com |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Extensions | BangPatterns |
The additional parsing library functions for the lineVariantsG3 executable.
Is taken from the Phonetic.Languages.Parsing module from the
phonetic-languages-simplified-examples-array
package to reduce dependencies in general case.
Synopsis
- isClosingCurlyBracket :: String -> Bool
- isSlash :: String -> Bool
- isOpeningCurlyBracket :: String -> Bool
- variations :: [String] -> Bool
- breakGroupOfStrings :: [String] -> (([String], [[String]]), [String])
- breakInSlashes :: [String] -> [[String]] -> [[String]]
- combineVariants :: ([String], [[String]]) -> [[String]]
- combineHeadsWithNexts :: [[String]] -> [String] -> [[String]]
- transformToVariations :: [String] -> [[String]]
Predicates
isClosingCurlyBracket :: String -> Bool Source #
isOpeningCurlyBracket :: String -> Bool Source #
variations :: [String] -> Bool Source #
Transformations
transformToVariations :: [String] -> [[String]] Source #