Copyright | (c) 2017-2020 Henry Till |
---|---|
License | ISC |
Maintainer | henrytill@gmail.com |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
Lenses for toml-parser.
Synopsis
- _Table :: (Choice p, Applicative f) => p [(Text, Value)] (f [(Text, Value)]) -> p Value (f Value)
- _List :: (Choice p, Applicative f) => p [Value] (f [Value]) -> p Value (f Value)
- _Double :: (Choice p, Applicative f) => p Double (f Double) -> p Value (f Value)
- _Integer :: (Choice p, Applicative f) => p Integer (f Integer) -> p Value (f Value)
- _String :: (Choice p, Applicative f) => p Text (f Text) -> p Value (f Value)
- _Bool :: (Choice p, Applicative f) => p Bool (f Bool) -> p Value (f Value)
- _ZonedTimeV :: (Choice p, Applicative f) => p ZonedTime (f ZonedTime) -> p Value (f Value)
- _LocalTimeV :: (Choice p, Applicative f) => p LocalTime (f LocalTime) -> p Value (f Value)
- _DayV :: (Choice p, Applicative f) => p Day (f Day) -> p Value (f Value)
- _TimeOfDayV :: (Choice p, Applicative f) => p TimeOfDay (f TimeOfDay) -> p Value (f Value)
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