Safe Haskell | None |
---|
Response module
Documentation
type Lastfm a = IO (Either LastfmError a)Source
Type synonym for Lastfm response or error.
dispatch :: IO a -> Lastfm aSource
Low level function. Captures all exceptions and transform them into Either Error type.
withSecret :: Secret -> IO a -> IO aSource
All authentication requiring functions should be wrapped into withSecret