Kulitta-2.2.1: Library for automated composition and musical learning

Kulitta.Learning.PCFGtoPTGG

toTerm :: MP -> Dur -> a -> Term a MP Source #

s' :: RTerm Source #

ptggRule1 :: Dur -> (Double, Rule a) -> Rule a MP Source #

toPTGG1 :: Dur -> [(Double, Rule a)] -> [Rule a MP] Source #

ptggRule2 :: (Double, Rule a) -> Rule a MP Source #

toPTGG2 :: (Dur -> Bool) -> [(Double, Rule a)] -> [Rule a MP] Source #

ptggRule3 :: (Double, Rule RTerm) -> Rule CType MP Source #

toPTGG3 :: (Dur -> Bool) -> [(Double, Rule RTerm)] -> [Rule CType MP] Source #

forceCT :: RTerm -> CType Source #