yaml-0.10.2.0: Support for parsing and rendering YAML documents.

Safe HaskellNone
LanguageHaskell2010

Data.Yaml.Parser

Description

NOTE: This module is a highly experimental preview release. It may change drastically, or be entirely removed, in a future release.

Documentation

newtype YamlParser a Source #

Constructors

YamlParser 
Instances
Monad YamlParser Source # 
Instance details

Defined in Data.Yaml.Parser

Methods

(>>=) :: YamlParser a -> (a -> YamlParser b) -> YamlParser b #

(>>) :: YamlParser a -> YamlParser b -> YamlParser b #

return :: a -> YamlParser a #

fail :: String -> YamlParser a #

Functor YamlParser Source # 
Instance details

Defined in Data.Yaml.Parser

Methods

fmap :: (a -> b) -> YamlParser a -> YamlParser b #

(<$) :: a -> YamlParser b -> YamlParser a #

Applicative YamlParser Source # 
Instance details

Defined in Data.Yaml.Parser

Methods

pure :: a -> YamlParser a #

(<*>) :: YamlParser (a -> b) -> YamlParser a -> YamlParser b #

liftA2 :: (a -> b -> c) -> YamlParser a -> YamlParser b -> YamlParser c #

(*>) :: YamlParser a -> YamlParser b -> YamlParser b #

(<*) :: YamlParser a -> YamlParser b -> YamlParser a #

Alternative YamlParser Source # 
Instance details

Defined in Data.Yaml.Parser

MonadPlus YamlParser Source # 
Instance details

Defined in Data.Yaml.Parser

Semigroup (YamlParser a) Source # 
Instance details

Defined in Data.Yaml.Parser

Monoid (YamlParser a) Source # 
Instance details

Defined in Data.Yaml.Parser

class FromYaml a where Source #

Minimal complete definition

fromYaml

Instances
FromYaml Int Source # 
Instance details

Defined in Data.Yaml.Parser

FromYaml Text Source # 
Instance details

Defined in Data.Yaml.Parser

FromYaml YamlValue Source # 
Instance details

Defined in Data.Yaml.Parser

FromYaml a => FromYaml [a] Source # 
Instance details

Defined in Data.Yaml.Parser

data RawDoc Source #

Constructors

RawDoc YamlValue AnchorMap 
Instances
Show RawDoc Source # 
Instance details

Defined in Data.Yaml.Parser