| Copyright | (c) Patrick Brisbin 2010 |
|---|---|
| License | as-is |
| Maintainer | pbrisbin@gmail.com |
| Stability | unstable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell98 |
Network.Gravatar
Contents
Description
- gravatar :: GravatarOptions -> Text -> String
- data GravatarOptions = GravatarOptions {}
- newtype Size = Size Int
- data DefaultImg
- newtype ForceDefault = ForceDefault Bool
- data Rating
- class Default a where
- def :: a
- defaultConfig :: GravatarOptions
- data Scheme
Documentation
gravatar :: GravatarOptions -> Text -> String Source
Return the avatar for the given email using the provided options
Options
data GravatarOptions Source
Constructors
| GravatarOptions | |
Fields
| |
Instances
data DefaultImg Source
Image to show when an avatar is not available
class Default a where
A class for types with a default value.
Instances
defaultConfig :: GravatarOptions Source
Available for backwards compatability, using def is advised