Copyright | (c) Galois Inc. 2008 (c) Sigbjorn Finne 2009- |
---|---|
License | BSD3 |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LinkRelation
- showLinkRelation :: LinkRelation -> String
- showLinkAttr :: LinkRelation -> String -> String
Documentation
data LinkRelation Source #
Atom feeds uses typed IRI links to represent information / metadata that is of interest to the consumers (software, in the main) of feeds. For instance, the edit link relation attached to an atom:entry element points to the IRI to use to update/edit it.
The Atom standard encourages that such typed links to
be registered with IANA if they have wider applicability,
and the LinkRelation
data type encodes the currently
registered link types (derived from:
http://www.iana.org/assignments/link-relations.html
on 2007-10-28]
Instances
Eq LinkRelation Source # | |
Defined in Text.Atom.Feed.Link (==) :: LinkRelation -> LinkRelation -> Bool # (/=) :: LinkRelation -> LinkRelation -> Bool # | |
Show LinkRelation Source # | |
Defined in Text.Atom.Feed.Link showsPrec :: Int -> LinkRelation -> ShowS # show :: LinkRelation -> String # showList :: [LinkRelation] -> ShowS # |
showLinkAttr :: LinkRelation -> String -> String Source #