selectors 0.0.2.0 → 0.0.3.0
raw patch · 2 files changed
+13/−4 lines, 2 filesdep ~arraydep ~basedep ~containers
Dependency ranges changed: array, base, containers, template-haskell, text, xml-conduit
Files
- XML/Selectors/CSS.hs +3/−0
- selectors.cabal +10/−4
XML/Selectors/CSS.hs view
@@ -17,6 +17,9 @@ import qualified Data.Map as M import qualified Data.Text as T +-- Axes that match nodes and their ancestors could result in duplicate nodes+-- in following descendant axes+ -- | Convert CSS 'Selector' to an 'Axis'. toAxis :: Selector -> Axis toAxis selector = descendant >=> toAxis' selector
selectors.cabal view
@@ -1,5 +1,5 @@ name: selectors-version: 0.0.2.0+version: 0.0.3.0 synopsis: CSS Selectors for DOM traversal description: This package provides functions for XML DOM traversal that work with "Text.XML.Cursor" from the xml-conduits package. The pure Haskell functions in "XML.Selectors.CSS" include a parser for CSS selector expressions and conversion to an "Axis". A QuasiQuoter is provided in "XML.Selectors.CSS.TH" for static validation of selector expressions.@@ -10,6 +10,7 @@ maintainer: ropoctl@gmail.com category: XML+homepage: http://github.com/rcallahan/selectors build-type: Simple cabal-version: >=1.10 @@ -20,11 +21,16 @@ other-modules: XML.Selectors.CSS.Tokens XML.Selectors.CSS.Parse other-extensions: QuasiQuotes, OverloadedStrings, TemplateHaskell, CPP, MagicHash, DeriveDataTypeable- build-depends: base >=4.6 && <4.7, xml-conduit >=1.1 && <1.2, containers >=0.5 && <0.6, text >=0.11 && <0.12, template-haskell >=2.8 && <2.9, array >=0.4 && <0.5- -- hs-source-dirs: + build-depends: base >=4.6 && <5,+ xml-conduit >=1.1,+ containers >=0.5,+ text >=0.11,+ template-haskell >=2.8,+ array >=0.4+-- ghc-options: -Wall build-tools: alex, happy default-language: Haskell2010 source-repository head type: git- location: git@github.com:rcallahan/selectors.git+ location: git://github.com/rcallahan/selectors.git