-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Orphan instances for types from sample-frame and numericprelude
--
-- Orphan instances for types from sample-frame package and type
-- classes from numeric-prelude. Using this package instead
-- defining custom orphan instances saves you from conflicting instances.
--
-- This is used by packages synthesizer,
-- synthesizer-alsa, synthesizer-llvm.
@package sample-frame-np
@version 0.0.5
module Sound.Frame.NumericPrelude.Stereo
data T a
left :: T a -> a
right :: T a -> a
cons :: a -> a -> T a
map :: (a -> b) -> T a -> T b
swap :: T a -> T a
data Channel
Left :: Channel
Right :: Channel
select :: T a -> Channel -> a
interleave :: (T a, T b) -> T (a, b)
sequence :: Functor f => f (T a) -> T (f a)
liftApplicative :: Applicative f => (f a -> f b) -> f (T a) -> f (T b)
instance Algebra.Additive.C a => Algebra.Additive.C (Sound.Frame.Stereo.T a)
instance Algebra.Module.C a v => Algebra.Module.C a (Sound.Frame.Stereo.T v)
instance (Algebra.Additive.C a, Algebra.NormedSpace.Sum.C a v) => Algebra.NormedSpace.Sum.C a (Sound.Frame.Stereo.T v)
instance Algebra.NormedSpace.Euclidean.Sqr a v => Algebra.NormedSpace.Euclidean.Sqr a (Sound.Frame.Stereo.T v)
instance (Algebra.Algebraic.C a, Algebra.NormedSpace.Euclidean.Sqr a v) => Algebra.NormedSpace.Euclidean.C a (Sound.Frame.Stereo.T v)
instance (GHC.Classes.Ord a, Algebra.NormedSpace.Maximum.C a v) => Algebra.NormedSpace.Maximum.C a (Sound.Frame.Stereo.T v)