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
I like this idea! We were recently lamenting the fact that TH can't
generate haddocks. We could probably have some sort of half decent
generated docs (maybe even describing why the lens is polymorphic in the
fashion that it is!)
It also ensures that the code generator doesn't unexpectedly change its
behavior and output something with an incompatible type (not something we
anticipate happening, but could happen).
In the following code snippet it would be convenient to generate lenses without explicit type signatures for the purpose of documentation:
So we can have nice haddocks:
The text was updated successfully, but these errors were encountered: