{-# OPTIONS_HADDOCK show-extensions #-} -- | -- Module : Phonetic.Languages.Array.Ukrainian.PropertiesFuncRepG22Old -- Copyright : (c) OleksandrZhabenko 2020-2021 -- License : MIT -- Stability : Experimental -- Maintainer : olexandr543@yahoo.com -- -- Generalization of the functionality of the DobutokO.Poetry.Norms -- and DobutokO.Poetry.Norms.Extended modules -- from the @dobutokO-poetry@ package. Instead of vectors, uses arrays. module Phonetic.Languages.Array.Ukrainian.PropertiesFuncRepG22Old ( -- * Functions with 'Double' -- ** Working with generated by r-glpk-phonetic-languages-ukrainian-durations syllable durations procBoth2F , procBoth2FF , procBoth2InvF , procBoth2InvFF ) where import Phonetic.Languages.Array.Ukrainian.Common import Phonetic.Languages.Array.Ukrainian.PropertiesSyllablesG2CommonOld import Phonetic.Languages.Array.Ukrainian.PropertiesFuncRepG2CommonOld import Phonetic.Languages.Basis import qualified Languages.Phonetic.Ukrainian.Syllable.Double.ArrInt8 as SD import Melodics.Ukrainian.ArrInt8 import GHC.Arr (Array) import GHC.Int (Int8) procBoth2F :: (Ord c) => (Double -> c) -> Coeffs2 -> FuncRep2 String Double c procBoth2F g coeffs = procB2F g SD.syllableDurationsD2 coeffs {-# INLINE procBoth2F #-} procBoth2InvF :: (Ord c) => (Double -> c) -> Coeffs2 -> FuncRep2 String Double c procBoth2InvF g coeffs = procB2InvF g SD.syllableDurationsD2 coeffs {-# INLINE procBoth2InvF #-} procBoth2FF :: (Ord c) => Double -> (Double -> c) -> Coeffs2 -> FuncRep2 String Double c procBoth2FF k g coeffs = procB2FF k g SD.syllableDurationsD2 coeffs {-# INLINE procBoth2FF #-} procBoth2InvFF :: (Ord c) => Double -> (Double -> c) -> Coeffs2 -> FuncRep2 String Double c procBoth2InvFF k g coeffs = procB2InvFF k g SD.syllableDurationsD2 coeffs {-# INLINE procBoth2InvFF #-}