packages feed

vivid 0.5.2.0 → 0.5.2.1

raw patch · 5 files changed

+7/−4 lines, 5 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Vivid.SynthDef.ToSig: instance Vivid.SynthDef.ToSig.ToSig GHC.Integer.Type.Integer args
- Vivid.SynthDef.ToSig: instance Vivid.SynthDef.ToSig.ToSig GHC.Natural.Natural args
+ Vivid.NoPluginsNoGlobalState: type SDBodyArgs a :: [Symbol]
+ Vivid.SynthDef.FromUA: type SDBodyArgs a :: [Symbol];
+ Vivid.SynthDef.FromUA: type UAsArgs a :: [Symbol];
+ Vivid.SynthDef.ToSig: instance Vivid.SynthDef.ToSig.ToSig GHC.Num.Integer.Integer args
+ Vivid.SynthDef.ToSig: instance Vivid.SynthDef.ToSig.ToSig GHC.Num.Natural.Natural args
+ Vivid.SynthDef.TypesafeArgs: type AllTags from :: [Symbol];
+ Vivid.SynthDef.TypesafeArgs: type InnerVars from :: [Symbol];
- Vivid.Actions.Class: class (Monad m, MonadIO m) => VividAction (m :: * -> *)
+ Vivid.Actions.Class: class (Monad m, MonadIO m) => VividAction (m :: Type -> Type)
- Vivid.NoPluginsNoGlobalState: class Finite a
+ Vivid.NoPluginsNoGlobalState: class () => Finite a
- Vivid.NoPluginsNoGlobalState: class Random a
+ Vivid.NoPluginsNoGlobalState: class () => Random a
- Vivid.NoPluginsNoGlobalState: class RandomGen g
+ Vivid.NoPluginsNoGlobalState: class () => RandomGen g
- Vivid.NoPluginsNoGlobalState: class Uniform a
+ Vivid.NoPluginsNoGlobalState: class () => Uniform a
- Vivid.NoPluginsNoGlobalState: class UniformRange a
+ Vivid.NoPluginsNoGlobalState: class () => UniformRange a
- Vivid.NoPluginsNoGlobalState: data ByteString
+ Vivid.NoPluginsNoGlobalState: data () => ByteString
- Vivid.NoPluginsNoGlobalState: data StdGen
+ Vivid.NoPluginsNoGlobalState: data () => StdGen
- Vivid.NoPluginsNoGlobalState: data Timestamp
+ Vivid.NoPluginsNoGlobalState: data () => Timestamp
- Vivid.NoPluginsNoGlobalState: type family SDBodyArgs a :: [Symbol]
+ Vivid.NoPluginsNoGlobalState: type family Args (required :: [Symbol]) (optional :: [Symbol]) args :: Constraint
- Vivid.SCServer: data Timestamp
+ Vivid.SCServer: data () => Timestamp
- Vivid.SCServer: newtype BufferId
+ Vivid.SCServer: newtype () => BufferId
- Vivid.SCServer: newtype Group
+ Vivid.SCServer: newtype () => Group
- Vivid.SCServer: newtype NodeId
+ Vivid.SCServer: newtype () => NodeId
- Vivid.SCServer: newtype ParGroup
+ Vivid.SCServer: newtype () => ParGroup
- Vivid.SCServer.State: newtype BufferId
+ Vivid.SCServer.State: newtype () => BufferId
- Vivid.SCServer.State: newtype NodeId
+ Vivid.SCServer.State: newtype () => NodeId
- Vivid.SCServer.State: newtype SyncId
+ Vivid.SCServer.State: newtype () => SyncId
- Vivid.SynthDef: data BinaryOp
+ Vivid.SynthDef: data () => BinaryOp
- Vivid.SynthDef: data UnaryOp
+ Vivid.SynthDef: data () => UnaryOp
- Vivid.SynthDef.FromUA: class FromUA (a :: *) where {
+ Vivid.SynthDef.FromUA: class FromUA (a :: Type) where {
- Vivid.SynthDef.TypesafeArgs: type family InnerVars from :: [Symbol];
+ Vivid.SynthDef.TypesafeArgs: type family Elem (a :: Symbol) (xs :: [Symbol]) :: Constraint

Files

Vivid/Actions/Class.hs view
@@ -29,8 +29,9 @@  import Control.Monad.IO.Class (MonadIO) import Data.ByteString (ByteString)+import Data.Kind (Type) -class (Monad m , MonadIO m) => VividAction (m :: * -> *) where+class (Monad m , MonadIO m) => VividAction (m :: Type -> Type) where     -- | Send an 'OSC' message to the SuperCollider server    callOSC :: OSC -> m ()
Vivid/GlobalState.hs view
@@ -26,6 +26,7 @@    , getNextAvailable    ) where +import Control.Monad (void) import Control.Concurrent (ThreadId, forkIO) import Control.Concurrent.MVar (MVar) import Control.Concurrent.STM
Vivid/SynthDef/FromUA.hs view
@@ -52,10 +52,11 @@ import Data.Proxy import GHC.Exts import GHC.TypeLits+import Data.Kind (Type)  type SDBody a = SDBody' (SDBodyArgs a) -class FromUA (a :: *) where+class FromUA (a :: Type) where    type UAsArgs a :: [Symbol]    type SDBodyArgs a :: [Symbol]    fromUA :: a -> SDBody a [(String, Signal)]
Vivid/SynthDef/ToSig.hs view
@@ -14,7 +14,7 @@    , TypeFamilies, NoMonoLocalBinds    , TypeSynonymInstances    , UndecidableInstances-+   , TypeOperators    , NoMonomorphismRestriction    #-} 
vivid.cabal view
@@ -1,5 +1,5 @@ name:                vivid-version:             0.5.2.0+version:             0.5.2.1 synopsis:            Sound synthesis with SuperCollider description:            Music and sound synthesis with SuperCollider.