lens-toml-parser-0.1.0.4: Lenses for toml-parser

Copyright(c) 2017-2020 Henry Till
LicenseISC
Maintainerhenrytill@gmail.com
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

TOML.Lens

Description

Lenses for toml-parser.

Synopsis

Documentation

_Table :: (Choice p, Applicative f) => p [(Text, Value)] (f [(Text, Value)]) -> p Value (f Value) Source #

_Table :: Prism' Value [(Text, Value)]

_List :: (Choice p, Applicative f) => p [Value] (f [Value]) -> p Value (f Value) Source #

_List :: Prism' Value [Value]

_Double :: (Choice p, Applicative f) => p Double (f Double) -> p Value (f Value) Source #

_Double :: Prism' Value Double

_Integer :: (Choice p, Applicative f) => p Integer (f Integer) -> p Value (f Value) Source #

_Integer :: Prism' Value Integer

_String :: (Choice p, Applicative f) => p Text (f Text) -> p Value (f Value) Source #

_String :: Prism' Value T.Text

_Bool :: (Choice p, Applicative f) => p Bool (f Bool) -> p Value (f Value) Source #

_Bool :: Prism' Value Bool

_ZonedTimeV :: (Choice p, Applicative f) => p ZonedTime (f ZonedTime) -> p Value (f Value) Source #

_ZonedTimeV :: Prism' Value ZonedTime

_LocalTimeV :: (Choice p, Applicative f) => p LocalTime (f LocalTime) -> p Value (f Value) Source #

_LocalTimeV :: Prism' Value LocalTime

_DayV :: (Choice p, Applicative f) => p Day (f Day) -> p Value (f Value) Source #

_DayV :: Prism' Value Day

_TimeOfDayV :: (Choice p, Applicative f) => p TimeOfDay (f TimeOfDay) -> p Value (f Value) Source #

_TimeOfDayV :: Prism' Value TimeOfDay