Hoogle Search

Within LTS Haskell 22.20 (ghc-9.6.4)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. toCursor :: (node -> [node]) -> node -> Cursor node

    xml-conduit Text.XML.Cursor.Generic

    No documentation available.

  2. type IndexedCursor = Cursor IndexedNode

    xml-indexed-cursor Text.XML.Cursor.Indexed

    This is similar to Cursor except for IndexedNode.

  3. attrValForElemCursor :: Name -> IndexedCursor -> Maybe Text

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Find attribute with Name on the element IndexedCursor is pointing to.

    >>> let cursor = indexedCursorFromText_ "<foo hello='3'/>"
    
    >>> attrValForElemCursor "hello" cursor
    Just "3"
    
    >>> attrValForElemCursor "bye" cursor
    Nothing
    

  4. indexedCursorFromByteString :: ByteString -> Either SomeException IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromByteString_ but uses parseLBS instead of parseLBS_.

  5. indexedCursorFromByteStringWithOpts :: ParseSettings -> ByteString -> Either SomeException IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromByteString but also takes ParseSettings.

  6. indexedCursorFromByteStringWithOpts_ :: ParseSettings -> ByteString -> IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromByteString_ but also takes ParseSettings.

  7. indexedCursorFromByteString_ :: ByteString -> IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    This reads a Document from a ByteString with parseLBS_, and then converts that Document to an IndexedCursor.

  8. indexedCursorFromText :: Text -> Either SomeException IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromByteString_ but uses parseText instead of parseLBS_.

  9. indexedCursorFromTextWithOpts :: ParseSettings -> Text -> Either SomeException IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromText but also takes ParseSettings.

  10. indexedCursorFromTextWithOpts_ :: ParseSettings -> Text -> IndexedCursor

    xml-indexed-cursor Text.XML.Cursor.Indexed

    Similar to indexedCursorFromText_ but also takes ParseSettings.

Page 2 of many | Previous | Next