Portability | portable |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Assorted functions for unravelling Flickr responses.
- pNodes :: String -> [Element] -> [Element]
- pNode :: String -> [Element] -> Maybe Element
- pLeaf :: String -> [Element] -> Maybe String
- pAttr :: String -> Element -> Maybe String
- pMany :: String -> (Element -> Maybe a) -> [Element] -> [a]
- children :: Element -> [Element]
- child :: Element -> Element
- nsName :: String -> QName
- without :: [String] -> [Attr] -> [Attr]
- ifNamed :: String -> Element -> Maybe a -> Maybe a
- mbDef :: a -> Maybe a -> Maybe a
- readMb :: Read a => String -> Maybe a
- piped :: [String] -> String
- opt :: String -> String -> Maybe (String, String)
- optB :: String -> Bool -> Maybe (String, String)
- opt1 :: String -> [String] -> Maybe (String, String)
- mbOpt :: String -> (a -> String) -> Maybe a -> Maybe (String, String)
- showBool :: Bool -> String
- intContent :: Element -> Maybe Int
- fromMaybe :: a -> Maybe a -> a
Documentation
intContent :: Element -> Maybe IntSource