vivid
vivid copied to clipboard
How can I play the example?
• Couldn't match type ‘transformers-0.5.2.0:Control.Monad.Trans.State.Lazy.StateT
(Timestamp, Vivid.Actions.NRT.Maximum Timestamp,
containers-0.5.10.2:Data.Map.Internal.Map
Timestamp [Either ByteString vivid-osc-0.3.0.0:Vivid.OSC.OSC])
IO’
with ‘IO’
Expected type: IO ()
Actual type: NRT ()
• In a stmt of a 'do' block: playSong
In the expression:
do putStrLn "Simplest:"
playSong
putStrLn "With precise timing:"
I'm currently getting the above error
Interesting! Add a type annotation:
playSong :: VividAction m => m ()
Having an additional issue with the example:
~10 of these errors.
Thanks