Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Error Msg
SUBMITTED BY:
Guest
DATE:
Dec. 14, 2013, 8:55 p.m.
FORMAT:
Text only
SIZE:
469 Bytes
Raw
Download
Tweet
HITS:
1240
Go to comments
Report
Couldn't match expected type `BitcoinData'
with actual type `Maybe a0'
Expected type: Maybe BitcoinData
Actual type: Maybe (Maybe a0)
In a stmt of a 'do' block:
return $ A.decode json :: Maybe BitcoinData
In the expression:
do { json <- simpleHttp
"http://api.bitcoincharts.com/v1/markets.json";
return $ A.decode json :: Maybe BitcoinData }
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus