gravatar-0.2: Find the url of the gravatar associated with an email address.Source codeContentsIndex
Network.Gravatar
Portability
Stabilityprovisional
MaintainerDon Stewart <dons@galois.com>
Description
Synopsis
gravatar :: String -> String
gravatarWith :: String -> Maybe Rating -> Maybe Size -> Maybe String -> String
data Rating
= G
| PG
| R
| X
data Size
size :: Int -> Maybe Size
Documentation
gravatar :: String -> StringSource
Return the url of a gravatar for an email address (a globally recognized avatar).
gravatarWith :: String -> Maybe Rating -> Maybe Size -> Maybe String -> StringSource
Construct the url of a gravatar with optional classification ratings, an optional size, and optional default image.
data Rating Source
Classification ratings for gravatars
Constructors
G
PG
R
X
show/hide Instances
data Size Source
An image size in pixels from 1 to 80.
size :: Int -> Maybe SizeSource
A smart constructor for the Size type, ensuring it is between 1 and 80
Produced by Haddock version 2.1.0