Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Channel mode messages
- data T
- get :: C parser => Int -> Fragile parser T
- put :: C writer => T -> writer
- fromControllerValue :: (Show a, Integral a) => (a, a) -> (Maybe UserMessage, T)
- toControllerValue :: Integral a => T -> (a, a)
Documentation
fromControllerValue :: (Show a, Integral a) => (a, a) -> (Maybe UserMessage, T) Source
This function is also used in alsa-midi,
we could give it the result type Parser.PossiblyIncomplete T
otherwise.
toControllerValue :: Integral a => T -> (a, a) Source