tidal-1.5.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 #

class Parseable a where Source #

Minimal complete definition

tPatParser, doEuclid

Instances
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 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
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 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 #