Cabal-Version: >= 1.6
Name: hexpat-iteratee
Version: 0.2
Synopsis: Chunked XML parsing using iteratees
Description:
This package provides chunked XML parsing using iteratees. It is especially suited
to implementing XML-based socket protocols, but is useful wherever lazy parsing is
needed on production systems where you can't tolerate the problems that come with
Haskell's lazy I\/O.
.
The XML is presented as a lazy tree, and is processed by a handler implemented using
a special HandlerT monad. This monad is suspended whenever it tries to read a part
of the tree that hasn't been parsed yet, and continued as soon as it is available.
The resulting code looks and functions very much as if you were using lazy I\/O,
only without the associated problems. The handler monad may have effects.
.
Background: Haskell's lazy I\/O can be problematic in some applications because it
doesn't handle I\/O errors properly, and you can't predict when it will clean up its
resources, which could result in file handles running out.
Category: XML
License: BSD3
License-File: LICENSE
Author:
Stephen Blackheath (blackh)
Maintainer: http://blacksapphire.com/antispam/
Copyright:
(c) 2010 Stephen Blackheath <http://blacksapphire.com/antispam/>
Homepage: http://haskell.org/haskellwiki/Hexpat/
Build-Type: Simple
Stability: pre-alpha
Extra-Source-Files:
test/test1.hs
test/test2.hs
test/test3.hs
test/test4.hs
test/sudoku.xml
test/broken.xml
source-repository head
type: darcs
location: http://code.haskell.org/hexpat-iteratee/
Library
Build-Depends:
base >= 3 && < 5,
bytestring,
mtl,
parallel,
containers,
extensible-exceptions >= 0.1 && < 0.2,
iteratee >= 0.3,
hexpat >= 0.13,
List >= 0.3
Exposed-Modules:
Text.XML.Expat.Chunked
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-matches -fno-warn-missing-signatures -fno-warn-orphans