Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data TPat a
- = TPat_Atom a
- | TPat_Density Time (TPat a)
- | TPat_Slow Time (TPat a)
- | TPat_Zoom Arc (TPat a)
- | TPat_DegradeBy Double (TPat a)
- | TPat_Silence
- | TPat_Foot
- | TPat_Elongate Int
- | TPat_EnumFromTo (TPat a) (TPat a)
- | TPat_Cat [TPat a]
- | TPat_TimeCat [TPat a]
- | TPat_Overlay (TPat a) (TPat a)
- | TPat_ShiftL Time (TPat a)
- | TPat_pE (TPat Int) (TPat Int) (TPat Integer) (TPat a)
- toPat :: Parseable a => TPat a -> Pattern a
- durations :: [TPat a] -> [(Int, TPat a)]
- p :: Parseable a => String -> Pattern a
- class Parseable a where
- enumFromTo' :: (Enum a, Ord a) => a -> a -> Pattern a
- enumFromThenTo' :: (Num a, Enum a, Ord a) => a -> a -> a -> Pattern a
- type ColourD = Colour Double
- lexer :: GenTokenParser String u Identity
- braces :: Parser a -> Parser a
- brackets :: Parser a -> Parser a
- parens :: Parser a -> Parser a
- angles :: Parser a -> Parser a
- symbol :: String -> Parser String
- natural :: Parser Integer
- integer :: Parser Integer
- float :: Parser Double
- naturalOrFloat :: Parser (Either Integer Double)
- data Sign
- applySign :: Num a => Sign -> a -> a
- sign :: Parser Sign
- intOrFloat :: Parser (Either Integer Double)
- r :: Parseable a => String -> Pattern a -> IO (Pattern a)
- parseRhythm :: Parseable a => Parser (TPat a) -> String -> TPat a
- pSequenceN :: Parseable a => Parser (TPat a) -> GenParser Char () (Int, TPat a)
- elongate :: [TPat a] -> TPat a
- splitFeet :: [TPat t] -> [[TPat t]]
- pSequence :: Parseable a => Parser (TPat a) -> GenParser Char () (TPat a)
- pSingle :: Parseable a => Parser (TPat a) -> Parser (TPat a)
- pPart :: Parseable a => Parser (TPat a) -> Parser [TPat a]
- pPolyIn :: Parseable a => Parser (TPat a) -> Parser (TPat a)
- pPolyOut :: Parseable a => Parser (TPat a) -> Parser (TPat a)
- pString :: Parser String
- pVocable :: Parser (TPat String)
- pDouble :: Parser (TPat Double)
- pBool :: Parser (TPat Bool)
- parseIntNote :: Integral i => Parser i
- parseInt :: Parser Int
- pIntegral :: Parseable a => Integral a => Parser (TPat a)
- parseNote :: Integral a => Parser a
- fromNote :: Integral c => Pattern String -> Pattern c
- pColour :: Parser (TPat ColourD)
- pMult :: Parseable a => TPat a -> Parser (TPat a)
- pRand :: Parseable a => TPat a -> Parser (TPat a)
- pE :: Parseable a => TPat a -> Parser (TPat a)
- eoff :: Int -> Int -> Integer -> Pattern a -> Pattern a
- pReplicate :: Parseable a => TPat a -> Parser [TPat a]
- pStretch :: Parseable a => TPat a -> Parser [TPat a]
- pRatio :: Parser Rational
- pRational :: Parser (TPat Rational)
Documentation
AST representation of patterns
TPat_Atom a | |
TPat_Density Time (TPat a) | |
TPat_Slow Time (TPat a) | |
TPat_Zoom Arc (TPat a) | |
TPat_DegradeBy Double (TPat a) | |
TPat_Silence | |
TPat_Foot | |
TPat_Elongate Int | |
TPat_EnumFromTo (TPat a) (TPat a) | |
TPat_Cat [TPat a] | |
TPat_TimeCat [TPat a] | |
TPat_Overlay (TPat a) (TPat a) | |
TPat_ShiftL Time (TPat a) | |
TPat_pE (TPat Int) (TPat Int) (TPat Integer) (TPat a) |
parseIntNote :: Integral i => Parser i Source #