packages feed

hsc3-server 0.5.0 → 0.6.0

raw patch · 3 files changed

+7/−4 lines, 3 filesdep ~hsc3-processPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: hsc3-process

API changes (from Hackage documentation)

+ Sound.SC3.Server.State.Monad: instance Failure AllocFailure Server
- Sound.SC3.Server.State.Monad.Process: withTransport :: ServerOptions -> RTOptions -> Server a -> IO a
+ Sound.SC3.Server.State.Monad.Process: withTransport :: ServerOptions -> RTOptions -> Maybe String -> Server a -> IO a

Files

Sound/SC3/Server/State/Monad.hs view
@@ -37,6 +37,7 @@ import           Control.Concurrent (ThreadId) import           Control.Concurrent.Lifted (MVar) import qualified Control.Concurrent.Lifted as Conc+import           Control.Failure (Failure) import           Control.Monad (ap, liftM, void) import           Control.Monad.Base (MonadBase(..)) import           Control.Monad.Fix (MonadFix)@@ -72,7 +73,7 @@   }  newtype Server a = Server { unServer :: ReaderT State IO a }-    deriving (Applicative, Functor, Monad, MonadFix, MonadIO)+    deriving (Applicative, Failure A.AllocFailure, Functor, Monad, MonadFix, MonadIO)  instance MonadBase IO Server where   {-# INLINE liftBase #-}
Sound/SC3/Server/State/Monad/Process.hs view
@@ -18,12 +18,14 @@ withTransport ::     ServerOptions     -- ^ General server options  -> RTOptions         -- ^ Realtime server options+ -> Maybe String      -- ^ Host to connect to (defaults to localhost)  -> Server a          -- ^ Action to execute  -> IO a              -- ^ Action result-withTransport serverOptions rtOptions action =+withTransport serverOptions rtOptions host action =   Process.withTransport     serverOptions     rtOptions+    host     $ \t -> Conn.open t >>= Server.runServer action serverOptions  -- | Start an @scsynth@ instance and run the supplied 'Server' action.
hsc3-server.cabal view
@@ -1,5 +1,5 @@ Name:               hsc3-server-Version:            0.5.0+Version:            0.6.0 Synopsis:           SuperCollider server resource management and synchronization. Description:     This library provides abstractions for managing SuperCollider server@@ -50,7 +50,7 @@       , hashtables >= 1.0       , hosc >= 0.13       , hsc3 >= 0.13-      , hsc3-process == 0.8.*+      , hsc3-process == 0.9.*       , lifted-base >= 0.1       , ListZipper       , monad-control >= 0.3