]> gitweb @ CieloNegro.org - EsounD.git/blobdiff - Sound/EsounD/Streams.hs
Give up using type families for stream muxing
[EsounD.git] / Sound / EsounD / Streams.hs
index 2be218ef4dcb727d10a3761dcac81f77b87aaeda..4f0a1000371da64874c756f1b46f679644e0a3a2 100644 (file)
@@ -4,14 +4,14 @@
   #-}
 -- | EsounD stream I/O
 module Sound.EsounD.Streams
-    ( Writable(..) 
+    ( Writable(..)
     )
     where
-import Control.Monad.IO.Class 
+import Control.Monad.IO.Class
 import Control.Monad.Trans.Region
 
-class Writable ws v where
+class Writable ws dvec where
     write ∷ ( AncestorRegion pr cr
              , MonadIO cr
              )
-          ⇒ ws (RegionT s pr) → v → cr ()
+          ⇒ ws (RegionT s pr) → dvec → cr ()