keera-hails-reactivelenses-0.8.0: Reactive Haskell on Rails - Lenses applied to Reactive Values
Safe HaskellSafe-Inferred



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 :



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.