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 #

Class of traversable functors which may be constructed from list

Minimal complete definition

build

Methods

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

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

Instances

Buildable [] # 

Methods

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

Buildable Maybe # 

Methods

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

Buildable NonEmpty # 

Methods

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

Buildable Identity # 

Methods

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