vivid icon indicating copy to clipboard operation
vivid copied to clipboard

How can I play the example?

Open chrissound opened this issue 6 years ago • 2 comments

• 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

chrissound avatar Dec 24 '17 14:12 chrissound

Interesting! Add a type annotation:

playSong :: VividAction m => m ()

vivid-synth avatar Jan 07 '18 02:01 vivid-synth

Having an additional issue with the example: screen shot 2018-10-15 at 3 29 40 pm

~10 of these errors.

Thanks

bgrange avatar Oct 15 '18 13:10 bgrange