bkerby

Untitled

Jul 28th, 2012
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. servePlayer ∷ StateT (Maybe TrackInfo) (Reader (LFMConfig, Player)) (IO ())
  2. servePlayer = do
  3.   (c, ρ) ← ask
  4.   maybeOldTrack ← get
  5.   threadDelayS fetchDelay
  6.  
  7. ----
  8.  
  9.     Couldn't match expected type `StateT
  10.                                    (Maybe TrackInfo) (Reader (LFMConfig, Player)) a0'
  11.                 with actual type `IO ()'
  12.    In the return type of a call of `threadDelayS'
  13.     In a stmt of a 'do' block: threadDelayS fetchDelay
Advertisement
Add Comment
Please, Sign In to add comment