Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gravatar :: GravatarOptions -> Text -> String
- data GravatarOptions = GravatarOptions {}
- newtype Size = Size Int
- data DefaultImg
- newtype ForceDefault = ForceDefault Bool
- data Rating
- data Scheme
- class Default a where
- def :: a
- defaultConfig :: GravatarOptions
Documentation
gravatar :: GravatarOptions -> Text -> String Source
Return the avatar for the given email using the provided options
Options
data GravatarOptions Source
GravatarOptions | |
|
data DefaultImg Source
Image to show when an avatar is not available
class Default a where
A class for types with a default value.
def :: a
The default value for this type.
defaultConfig :: GravatarOptions Source
Available for backwards compatability, using def
is advised