tagchup-0.4.1: alternative package for processing of tag soups

Safe HaskellSafe
LanguageHaskell98

Text.HTML.Tagchup.PositionTag

Synopsis

Documentation

data T name string Source #

Constructors

Cons 

Fields

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) #

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

Methods

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

show :: T name string -> String #

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

cons :: T -> T name string -> T name string Source #

position :: T (T name string) T Source #

tag :: T (T name string) (T name string) Source #

lift :: (T name0 string0 -> T name1 string1) -> T name0 string0 -> T name1 string1 Source #

liftA :: Applicative f => (T name0 string0 -> f (T name1 string1)) -> T name0 string0 -> f (T name1 string1) Source #

textFromCData :: (Tag name, C char) => T name [char] -> T name [char] Source #

concatTexts :: Monoid string => [T name string] -> [T name string] Source #

Merge adjacent Text sections.