packages feed

hsc3-process 0.2.1 → 0.3.0

raw patch · 4 files changed

+7/−10 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Sound.SC3.Server.Process.CommandLine: instance (Option a) => Option (Maybe a)
+ Sound.SC3.Server.Process.CommandLine: instance Option Bool
+ Sound.SC3.Server.Process.CommandLine: instance Option Int
+ Sound.SC3.Server.Process.CommandLine: instance Option String
+ Sound.SC3.Server.Process.CommandLine: instance Option Verbosity
+ Sound.SC3.Server.Process.CommandLine: instance Option [FilePath]
+ Sound.SC3.Server.Process.CommandLine: mkOption :: a -> a -> String -> ToOption a -> Maybe (String, String)
+ Sound.SC3.Server.Process.CommandLine: nrtCommandLine :: ServerOptions -> NRTOptions -> [String]
+ Sound.SC3.Server.Process.CommandLine: rtCommandLine :: ServerOptions -> RTOptions -> [String]

Files

Sound/SC3/Server/Process/CommandLine.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE ExistentialQuantification, FlexibleInstances, TypeSynonymInstances #-} module Sound.SC3.Server.Process.CommandLine (     rtCommandLine   , nrtCommandLine@@ -36,7 +37,7 @@     showOption = showOption . ((-)2) . fromEnum  instance Option [FilePath] where-    showOption = intercalate ":" . map show+    showOption = intercalate ":"  data ToOption a = forall b . Option b => ToOption (a -> b) 
Sound/SC3/Server/Process/ConfigFile.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE FlexibleContexts #-} -- | Read server options from configuraton file. module Sound.SC3.Server.Process.ConfigFile (     fromAssocs,
Sound/SC3/Server/Process/Options.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE TemplateHaskell #-} module Sound.SC3.Server.Process.Options where  import Data.Accessor                        (Accessor)
hsc3-process.cabal view
@@ -1,5 +1,5 @@ name:               hsc3-process-version:            0.2.1+version:            0.3.0 synopsis:           Create and control scsynth processes description:        Create and control scsynth processes. license:            GPL@@ -20,17 +20,11 @@  library   exposed-modules:  Sound.SC3.Server.Process+                    Sound.SC3.Server.Process.CommandLine                     Sound.SC3.Server.Process.ConfigFile                     Sound.SC3.Server.Process.Options-  other-modules:    Sound.SC3.Server.Process.Accessor,-                    Sound.SC3.Server.Process.CommandLine+  other-modules:    Sound.SC3.Server.Process.Accessor -  extensions:       ExistentialQuantification-                  , FlexibleContexts-                  , FlexibleInstances-                  , TemplateHaskell-                  , TypeSynonymInstances-    build-depends:    base >= 3 && < 5                   , ConfigFile >= 1                   , containers >= 0.2