Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I play the example? #4

Open
chrissound opened this issue Dec 24, 2017 · 2 comments
Open

How can I play the example? #4

chrissound opened this issue Dec 24, 2017 · 2 comments

Comments

@chrissound
Copy link

• 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

@vivid-synth
Copy link
Owner

Interesting! Add a type annotation:

playSong :: VividAction m => m ()

@bgrange
Copy link

bgrange commented Oct 15, 2018

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

~10 of these errors.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants