xml-basic-0.1.2: Basics for XML/HTML representation and processing

Safe HaskellSafe
LanguageHaskell98

Text.XML.Basic.ProcessingInstruction

Documentation

data T name string Source #

Constructors

Known [T name string] 
Unknown String 

Instances

Functor (T name) Source # 

Methods

fmap :: (a -> b) -> T name a -> T name b #

(<$) :: a -> T name b -> T name a #

Foldable (T name) Source # 

Methods

fold :: Monoid m => T name m -> m #

foldMap :: Monoid m => (a -> m) -> T name a -> m #

foldr :: (a -> b -> b) -> b -> T name a -> b #

foldr' :: (a -> b -> b) -> b -> T name a -> b #

foldl :: (b -> a -> b) -> b -> T name a -> b #

foldl' :: (b -> a -> b) -> b -> T name a -> b #

foldr1 :: (a -> a -> a) -> T name a -> a #

foldl1 :: (a -> a -> a) -> T name a -> a #

toList :: T name a -> [a] #

null :: T name a -> Bool #

length :: T name a -> Int #

elem :: Eq a => a -> T name a -> Bool #

maximum :: Ord a => T name a -> a #

minimum :: Ord a => T name a -> a #

sum :: Num a => T name a -> a #

product :: Num a => T name a -> a #

Traversable (T name) Source # 

Methods

traverse :: Applicative f => (a -> f b) -> T name a -> f (T name b) #

sequenceA :: Applicative f => T name (f a) -> f (T name a) #

mapM :: Monad m => (a -> m b) -> T name a -> m (T name b) #

sequence :: Monad m => T name (m a) -> m (T name a) #

(Eq name, Eq string) => Eq (T name string) Source # 

Methods

(==) :: T name string -> T name string -> Bool #

(/=) :: T name string -> T name string -> Bool #

(Ord name, Ord string) => Ord (T name string) Source # 

Methods

compare :: T name string -> T name string -> Ordering #

(<) :: T name string -> T name string -> Bool #

(<=) :: T name string -> T name string -> Bool #

(>) :: T name string -> T name string -> Bool #

(>=) :: T name string -> T name string -> Bool #

max :: T name string -> T name string -> T name string #

min :: T name string -> T name string -> T name string #

(Attribute name, Show string) => Show (T name string) Source # 

Methods

showsPrec :: Int -> T name string -> ShowS #

show :: T name string -> String #

showList :: [T name string] -> ShowS #

(Attribute name, C string) => C (T name string) Source # 

Methods

run :: T name string -> ShowS Source #

mapName :: (Name name0 -> Name name1) -> T name0 string -> T name1 string Source #

mapAttributes :: ([T name0 string0] -> [T name1 string1]) -> T name0 string0 -> T name1 string1 Source #

mapAttributesA :: Applicative f => ([T name0 string0] -> f [T name1 string1]) -> T name0 string0 -> f (T name1 string1) Source #