Safe Haskell | None |
---|---|
Language | Haskell98 |
- data TPat a
- toPat :: TPat a -> Pattern a
- p :: Parseable a => String -> Pattern a
- class Parseable a where
- 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 :: Parser (TPat a) -> String -> TPat a
- pSequenceN :: Parser (TPat a) -> GenParser Char () (Int, TPat a)
- splitFeet :: [TPat t] -> [[TPat t]]
- pSequence :: Parser (TPat a) -> GenParser Char () (TPat a)
- pSingle :: Parser (TPat a) -> Parser (TPat a)
- pPart :: Parser (TPat a) -> Parser [TPat a]
- pPolyIn :: Parser (TPat a) -> Parser (TPat a)
- pPolyOut :: 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 :: Integral i => Parser (TPat i)
- parseNote :: Integral a => Parser a
- fromNote :: Integral c => Pattern String -> Pattern c
- pColour :: Parser (TPat ColourD)
- pMult :: TPat a -> Parser (TPat a)
- pRand :: TPat a -> Parser (TPat a)
- pE :: TPat a -> Parser (TPat a)
- eoff :: Int -> Int -> Integer -> Pattern a -> Pattern a
- pReplicate :: TPat a -> Parser [TPat a]
- pStretch :: TPat a -> Parser [TPat a]
- pRatio :: Parser Rational
- pRational :: Parser (TPat Rational)
Documentation
AST representation of patterns
parseIntNote :: Integral i => Parser i Source #