synthesizer-llvm-0.9: Efficient signal processing using runtime compilation

Safe HaskellNone

Synthesizer.LLVM.Plug.Input

Synopsis

Documentation

data T a b Source

Constructors

forall state ioContext parameters . (C parameters, C state) => Cons (forall r. ValueOf parameters -> state -> CodeGenFunction r (b, state)) (forall r. ValueOf parameters -> CodeGenFunction r state) (a -> IO (ioContext, parameters)) (ioContext -> IO ()) 

Instances

Functor (T a) 

class Default a whereSource

Associated Types

type Element a :: *Source

Methods

deflt :: T a (Element a)Source

Instances

Default LazySize 
C a => Default (Vector a) 
(C a, C (ValueOf a)) => Default (T Int a) 
(Default a, Default b) => Default (T a b) 

rmap :: (a -> b) -> T b c -> T a cSource

split :: T a c -> T b d -> T (T a b) (c, d)Source

fanout :: T a b -> T a c -> T a (b, c)Source

storableVector :: (C a, ValueOf a ~ value) => T (Vector a) valueSource

piecewiseConstant :: (C a, ValueOf a ~ value, C value) => T (T Int a) valueSource

controllerSet :: (Natural n, C a, Storable a, ValueOf a ~ Value a, IsSized a) => Proxy n -> T (T Int a) (Value (Array n a))Source

Return an Array and not a pointer to an array, in order to forbid writing to the array.