You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"In a more general setting, such as when working with a Monad transformer stack you can use:
view :: MonadReader s m => Getter s a -> m a
view :: (MonadReader s m, Monoid a) => Fold s a -> m a
view :: MonadReader s m => Iso' s a -> m a
view :: MonadReader s m => Lens' s a -> m a
view :: (MonadReader s m, Monoid a) => Traversal' s a -> m a"
this is jus the haddock for view (without the s) repeated. I think this should either be deleted or corrected to have the right type sigs for views.
The text was updated successfully, but these errors were encountered:
In
http://ekmett.github.io/lens/Control-Lens-Getter.html#v:views
we have
"In a more general setting, such as when working with a Monad transformer stack you can use:
view :: MonadReader s m => Getter s a -> m a
view :: (MonadReader s m, Monoid a) => Fold s a -> m a
view :: MonadReader s m => Iso' s a -> m a
view :: MonadReader s m => Lens' s a -> m a
view :: (MonadReader s m, Monoid a) => Traversal' s a -> m a"
this is jus the haddock for view (without the s) repeated. I think this should either be deleted or corrected to have the right type sigs for views.
The text was updated successfully, but these errors were encountered: