dom-parser-3.0.0: Simple monadic DOM parser

Safe HaskellNone
LanguageHaskell2010

Text.XML.DOM.Parser.Buildable

Synopsis

Documentation

class Traversable f => Buildable f where Source #

Class of traversable functors which may be constructed from list

Minimal complete definition

build

Methods

build :: [a] -> Maybe (f a) Source #

If method return Nothing this means we can not build traversable from given list. In this case inFilteredTrav should fail traversing.

Instances

Buildable [] Source # 

Methods

build :: [a] -> Maybe [a] Source #

Buildable Maybe Source # 

Methods

build :: [a] -> Maybe (Maybe a) Source #

Buildable Identity Source # 

Methods

build :: [a] -> Maybe (Identity a) Source #

Buildable NonEmpty Source # 

Methods

build :: [a] -> Maybe (NonEmpty a) Source #