Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haddock for views (mistakenly) repeats view #576

Closed
tphyahoo opened this issue Jul 30, 2015 · 0 comments
Closed

haddock for views (mistakenly) repeats view #576

tphyahoo opened this issue Jul 30, 2015 · 0 comments

Comments

@tphyahoo
Copy link

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.

@glguy glguy closed this as completed in 3f44be8 Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant