Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Optics for compatibility with the lens package
- key :: Applicative f => Text -> (Value -> f Value) -> Value -> f Value
- text :: Applicative f => (Text -> f Text) -> Value -> f Value
- number :: Applicative f => (Integer -> f Integer) -> Value -> f Value
- atom :: Applicative f => (Atom -> f Atom) -> Value -> f Value
- list :: Applicative f => ([Value] -> f [Value]) -> Value -> f Value
- values :: Applicative f => (Value -> f Value) -> Value -> f Value
- sections :: Applicative f => ([Section] -> f [Section]) -> Value -> f Value
Documentation
Apply a function to the subsections of the given value when
that value is a Sections
and the subsection name matches the
given section name