Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Extensions |
|
Vivid.SynthDef.CrazyTypes
Description
Our IncoherentInstances + UndecidableInstances sin bin, for everything that needs crazy type hacks
Most of this is just to get numbers defaulting to Floats in a useful way in SynthDefs
We keep these separated so everything that doesn't need IncoherentInstances can live in Sanity Land
- class ToSig s where
- class ToSigM s where
- class HasSynthRef a where
- getSynthRef :: a -> Either ByteString SynthDef
Documentation
class HasSynthRef a where Source
Methods
getSynthRef :: a -> Either ByteString SynthDef Source
Instances