Error Msg


SUBMITTED BY: Guest

DATE: Dec. 14, 2013, 8:55 p.m.

FORMAT: Text only

SIZE: 469 Bytes

HITS: 1240

  1. Couldn't match expected type `BitcoinData'
  2. with actual type `Maybe a0'
  3. Expected type: Maybe BitcoinData
  4. Actual type: Maybe (Maybe a0)
  5. In a stmt of a 'do' block:
  6. return $ A.decode json :: Maybe BitcoinData
  7. In the expression:
  8. do { json <- simpleHttp
  9. "http://api.bitcoincharts.com/v1/markets.json";
  10. return $ A.decode json :: Maybe BitcoinData }

comments powered by Disqus