~singpolyma/xml-types-haskell

e7c9e9532c73f0230afec0e833faf597ab0dceaa — John Millikin 11 years ago 643ef4c xml-types_0.1.4
Export ``elementContent`` (herp derp)
2 files changed, 3 insertions(+), 2 deletions(-)

M Data/XML/Types.hs
M xml-types.cabal
M Data/XML/Types.hs => Data/XML/Types.hs +2 -1
@@ 55,6 55,7 @@ module Data.XML.Types
	-- * Filters
	, nodeChildren
	, elementChildren
	, elementContent
	, hasAttribute
	, position
	) where


@@ 209,7 210,7 @@ isNamed n x = [x | getName x == n]
elementChildren :: Element -> [Element]
elementChildren = elementNodes >=> isElement

-- | Since 0.1.3
-- | Since 0.1.4
elementContent :: Element -> [Content]
elementContent = elementNodes >=> isContent


M xml-types.cabal => xml-types.cabal +1 -1
@@ 1,5 1,5 @@
name: xml-types
version: 0.1.3
version: 0.1.4
synopsis: Basic types for representing XML
license: MIT
license-file: license.txt