hsc3-server-0.10.0: SuperCollider server resource management and synchronization.

Safe HaskellSafe-Inferred
LanguageHaskell98

Sound.SC3.Server.Allocator.Wrapped

Description

Helper functions for newtype wrappers.

Documentation

alloc :: (Failure AllocFailure m, IdAllocator a) => (a -> a') -> a -> m (Id a, a') Source

free :: (Failure AllocFailure m, IdAllocator a) => (a -> a') -> Id a -> a -> m a' Source

allocRange :: (Failure AllocFailure m, RangeAllocator a) => (a -> a') -> Int -> a -> m (Range (Id a), a') Source

freeRange :: (Failure AllocFailure m, RangeAllocator a) => (a -> a') -> Range (Id a) -> a -> m a' Source