tidal-1.3.0: Pattern language for improvised music

Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.ParseBP

Contents

Synopsis

Documentation

data TPat a Source #

AST representation of patterns

Instances
Show a => Show (TPat a) Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Methods

showsPrec :: Int -> TPat a -> ShowS #

show :: TPat a -> String #

showList :: [TPat a] -> ShowS #

durations :: [TPat a] -> [(Int, TPat a)] Source #

class Parseable a where Source #

Instances
Parseable Bool Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Double Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Int Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Integer Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Rational Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable String Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable ColourD Source # 
Instance details

Defined in Sound.Tidal.ParseBP

class Enumerable a where Source #

Methods

fromTo :: a -> a -> Pattern a Source #

fromThenTo :: a -> a -> a -> Pattern a Source #

enumFromTo' :: (Ord a, Enum a) => a -> a -> Pattern a Source #

enumFromThenTo' :: (Ord a, Enum a, Num a) => a -> a -> a -> Pattern a Source #

data Sign Source #

Constructors

Positive 
Negative 

applySign :: Num a => Sign -> a -> a Source #

elongate :: [TPat a] -> TPat a Source #

splitFeet :: [TPat t] -> [[TPat t]] Source #

parseChord :: (Enum a, Num a) => Parser [a] Source #

pE :: TPat a -> Parser (TPat a) Source #

Orphan instances

(Enumerable a, Parseable a) => IsString (Pattern a) Source # 
Instance details

Methods

fromString :: String -> Pattern a #