Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell2010 |

Apply lenses onto Reactive Values, produced RVs that focus only on a part of the value.

Copyright : (C) Keera Studios Ltd, 2013 License : BSD3 Maintainer : support@keera.co.uk

## Synopsis

- reactiveFromLens :: (Monad m, Functor m) => ReactiveFieldReadWrite m a -> Lens' a b -> ReactiveFieldReadWrite m b
- (<$$$>) :: (Monad m, Functor m) => Lens' a b -> ReactiveFieldReadWrite m a -> ReactiveFieldReadWrite m b

# Documentation

reactiveFromLens :: (Monad m, Functor m) => ReactiveFieldReadWrite m a -> Lens' a b -> ReactiveFieldReadWrite m b Source #

Apply a lens to a reactive value, produced another reactive value that focuses on a part of the first.

(<$$$>) :: (Monad m, Functor m) => Lens' a b -> ReactiveFieldReadWrite m a -> ReactiveFieldReadWrite m b Source #

An infix version of `reactiveFromLense`

.

DUE to a strange problem with GHC-7.10, I cannot use the following
equivalente definition: `flip`

`reactiveFromLens`

.