lens-toml-parser-0.3.0.0: Lenses for toml-parser
Copyright(c) 2017-2024 Henry Till
LicenseISC
Maintainerhenrytill@gmail.com
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Toml.Lens

Description

Lenses for toml-parser.

Synopsis

Unannotated

_Table :: (Choice p, Applicative f) => p Table (f Table) -> p Value (f Value) Source #

_Table :: Prism' Value Table

_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

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

_Text :: Prism' Value Text

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

_Bool :: Prism' Value Bool

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

_ZonedTime :: Prism' Value Time.ZonedTime

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

_LocalTime :: Prism' Value Time.LocalTime

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

_Day :: Prism' Value Time.Day

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

_TimeOfDay :: Prism' Value Time.TimeOfDay

Annotated

_Table' :: (Choice p, Applicative f) => p (a, Table' a) (f (a, Table' a)) -> p (Value' a) (f (Value' a)) Source #

_Table' :: Prism' (Value' a) (a, Table' a)

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

_Array' :: Prism' (Value' a) (a, [Value' a])

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

_Double' :: Prism' (Value' a) (a, Double)

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

_Integer' :: Prism' (Value' a) (a, Integer)

_Text' :: (Choice p, Applicative f) => p (a, Text) (f (a, Text)) -> p (Value' a) (f (Value' a)) Source #

_Text' :: Prism' (Value' a) (a, Text)

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

_Bool' :: Prism' (Value' a) (a, Bool)

_ZonedTime' :: (Choice p, Applicative f) => p (a, ZonedTime) (f (a, ZonedTime)) -> p (Value' a) (f (Value' a)) Source #

_ZonedTime' :: Prism' (Value' a) (a, Time.ZonedTime)

_LocalTime' :: (Choice p, Applicative f) => p (a, LocalTime) (f (a, LocalTime)) -> p (Value' a) (f (Value' a)) Source #

_LocalTime' :: Prism' (Value' a) (a, Time.LocalTime)

_Day' :: (Choice p, Applicative f) => p (a, Day) (f (a, Day)) -> p (Value' a) (f (Value' a)) Source #

_Day' :: Prism' (Value' a) (a, Time.Day)

_TimeOfDay' :: (Choice p, Applicative f) => p (a, TimeOfDay) (f (a, TimeOfDay)) -> p (Value' a) (f (Value' a)) Source #

_TimeOfDay' :: Prism' (Value' a) (a, Time.TimeOfDay)