tidal-1.7.6: Pattern language for improvised music
Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.ParseBP

Synopsis

Documentation

data TPat a Source #

AST representation of patterns

Instances

Instances details
Functor TPat Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Methods

fmap :: (a -> b) -> TPat a -> TPat b #

(<$) :: a -> TPat b -> TPat a #

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 #

tShowList :: Show a => [TPat a] -> String Source #

tShow :: Show a => TPat a -> String Source #

steps_size :: Show a => [TPat a] -> [(Rational, String)] Source #

class Parseable a where Source #

Minimal complete definition

tPatParser, doEuclid

Instances

Instances details
Parseable Bool Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Char 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 Note 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 #

Instances

Instances details
Enumerable Bool Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Char Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Double Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Int Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Integer Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Rational Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable String Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable Note Source # 
Instance details

Defined in Sound.Tidal.ParseBP

Enumerable ColourD Source # 
Instance details

Defined in Sound.Tidal.ParseBP

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 #

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

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

Orphan instances

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

Methods

fromString :: String -> Pattern a #