| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | Sigbjorn Finne <sof@forkIO.com> |
| Safe Haskell | Safe-Infered |
Flickr.Monad
Description
Monadic layer for supporting flickr.com interactions.
Documentation
Constructors
| FMEnv | |
Fields
| |
withAPIKey :: APIKey -> FM a -> FM aSource
withSharedSecret :: String -> FM a -> FM aSource
withAuthToken :: String -> FM a -> FM aSource
withAuthMiniToken :: String -> FM a -> FM aSource
withPageSize :: Int -> FM a -> FM aSource
onlyTheseProperties :: [String] -> FM a -> FM aSource
signedMethod :: FM a -> FM aSource
withReadPerm :: FM a -> FM aSource
withWritePerm :: FM a -> FM aSource
withDeletePerm :: FM a -> FM aSource
postMethod :: FM a -> FM aSource
Constructors
| FlickErr | |
Fields | |
data SomeFlickException Source
Constructors
| forall e . Exception e => SomeFlickException e |
flickToException :: Exception e => e -> SomeExceptionSource
flickFromException :: Exception e => SomeException -> Maybe eSource
throwFlickErr :: FlickErr -> FM aSource
data FlickErrorType Source
Constructors
| UnexpectedResponse | |
| MissingStatus | |
| EmptyResponse | |
| IllformedError | |
| FlickParseError | |
| FlickrAPIError |
Instances
checkResponse :: String -> ErrM ElementSource