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

Sound.Tidal.Safe.Context

Documentation

data Op r Source #

Instances

Instances details
MonadCatch Op Source # 
Instance details

Defined in Sound.Tidal.Safe.Context

Methods

catch :: (HasCallStack, Exception e) => Op a -> (e -> Op a) -> Op a

MonadThrow Op Source # 
Instance details

Defined in Sound.Tidal.Safe.Context

Methods

throwM :: (HasCallStack, Exception e) => e -> Op a

Applicative Op Source # 
Instance details

Defined in Sound.Tidal.Safe.Context

Methods

pure :: a -> Op a

(<*>) :: Op (a -> b) -> Op a -> Op b

liftA2 :: (a -> b -> c) -> Op a -> Op b -> Op c

(*>) :: Op a -> Op b -> Op b

(<*) :: Op a -> Op b -> Op a

Functor Op Source # 
Instance details

Defined in Sound.Tidal.Safe.Context

Methods

fmap :: (a -> b) -> Op a -> Op b

(<$) :: a -> Op b -> Op a

Monad Op Source # 
Instance details

Defined in Sound.Tidal.Safe.Context

Methods

(>>=) :: Op a -> (a -> Op b) -> Op b

(>>) :: Op a -> Op b -> Op b

return :: a -> Op a

exec :: Stream -> Op r -> IO r Source #

streamNudgeAll :: Double -> Op () Source #

streamSetI :: String -> Pattern Int -> Op () Source #

streamSetF :: String -> Pattern Double -> Op () Source #

streamSetS :: String -> Pattern String -> Op () Source #

streamSetR :: String -> Pattern Rational -> Op () Source #

streamSetB :: String -> Pattern Bool -> Op () Source #

show :: Show a => a -> String #

data Ratio a #

Instances

Instances details
NFData1 Ratio 
Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> Ratio a -> ()

Show Arc 
Instance details

Defined in Sound.Tidal.Show

Methods

showsPrec :: Int -> Arc -> ShowS

show :: Arc -> String #

showList :: [Arc] -> ShowS

Enumerable Rational 
Instance details

Defined in Sound.Tidal.ParseBP

Parseable Rational 
Instance details

Defined in Sound.Tidal.ParseBP

Moddable Rational 
Instance details

Defined in Sound.Tidal.Pattern

Valuable Rational 
Instance details

Defined in Sound.Tidal.Pattern

NFData a => NFData (Ratio a) 
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Ratio a -> ()

Integral a => Enum (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

succ :: Ratio a -> Ratio a

pred :: Ratio a -> Ratio a

toEnum :: Int -> Ratio a

fromEnum :: Ratio a -> Int

enumFrom :: Ratio a -> [Ratio a]

enumFromThen :: Ratio a -> Ratio a -> [Ratio a]

enumFromTo :: Ratio a -> Ratio a -> [Ratio a]

enumFromThenTo :: Ratio a -> Ratio a -> Ratio a -> [Ratio a]

Integral a => Num (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

(+) :: Ratio a -> Ratio a -> Ratio a

(-) :: Ratio a -> Ratio a -> Ratio a

(*) :: Ratio a -> Ratio a -> Ratio a

negate :: Ratio a -> Ratio a

abs :: Ratio a -> Ratio a

signum :: Ratio a -> Ratio a

fromInteger :: Integer -> Ratio a

(Integral a, Read a) => Read (Ratio a) 
Instance details

Defined in GHC.Internal.Read

Methods

readsPrec :: Int -> ReadS (Ratio a)

readList :: ReadS [Ratio a]

readPrec :: ReadPrec (Ratio a)

readListPrec :: ReadPrec [Ratio a]

Integral a => Fractional (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

(/) :: Ratio a -> Ratio a -> Ratio a

recip :: Ratio a -> Ratio a

fromRational :: Rational -> Ratio a

Integral a => Real (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

toRational :: Ratio a -> Rational

Integral a => RealFrac (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

properFraction :: Integral b => Ratio a -> (b, Ratio a)

truncate :: Integral b => Ratio a -> b

round :: Integral b => Ratio a -> b

ceiling :: Integral b => Ratio a -> b

floor :: Integral b => Ratio a -> b

Show a => Show (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

showsPrec :: Int -> Ratio a -> ShowS

show :: Ratio a -> String #

showList :: [Ratio a] -> ShowS

Show a => Show (Event a) 
Instance details

Defined in Sound.Tidal.Show

Methods

showsPrec :: Int -> Event a -> ShowS

show :: Event a -> String #

showList :: [Event a] -> ShowS

Eq a => Eq (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

(==) :: Ratio a -> Ratio a -> Bool

(/=) :: Ratio a -> Ratio a -> Bool

Integral a => Ord (Ratio a) 
Instance details

Defined in GHC.Internal.Real

Methods

compare :: Ratio a -> Ratio a -> Ordering

(<) :: Ratio a -> Ratio a -> Bool

(<=) :: Ratio a -> Ratio a -> Bool

(>) :: Ratio a -> Ratio a -> Bool

(>=) :: Ratio a -> Ratio a -> Bool

max :: Ratio a -> Ratio a -> Ratio a

min :: Ratio a -> Ratio a -> Ratio a

type Rational = Ratio Integer #

data Target Source #

Constructors

Target 

Fields

Instances

Instances details
Show Target Source # 
Instance details

Defined in Sound.Tidal.Stream.Types

Methods

showsPrec :: Int -> Target -> ShowS

show :: Target -> String #

showList :: [Target] -> ShowS

denominator :: Ratio a -> a #

numerator :: Ratio a -> a #

(%) :: Integral a => a -> a -> Ratio a #

approxRational :: RealFrac a => a -> a -> Rational #

data Target Source #

Constructors

Target 

Fields

Instances

Instances details
Show Target Source # 
Instance details

Defined in Sound.Tidal.Stream.Types

Methods

showsPrec :: Int -> Target -> ShowS

show :: Target -> String #

showList :: [Target] -> ShowS