yaml-marked-0.2.0.1: Support for parsing and rendering YAML documents with marks.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Yaml.Marked.Value

Synopsis

Documentation

data Value Source #

Instances

Instances details
Show Value Source # 
Instance details

Defined in Data.Yaml.Marked.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

Eq Value Source # 
Instance details

Defined in Data.Yaml.Marked.Value

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #

type MarkedArray = Vector (Marked Value) Source #

valueAsJSON :: FromJSON a => Value -> Either String a Source #

Parse the value using its FromJSON, discarding any marks

valueToValue :: Value -> Value Source #

Convert a Value to an equivalent Value