Closed MuhammedZakir closed 2 years ago
Regarding item 1, I can't do anything at this point. The lenses are generated with TemplateHaskell
by the lens
library, and that extension has a limitation mentioned in this issue. Luckily, it seems it will be possible in the future when that GHC version becomes available in Hackage.
In general, I recommend checking the documentation of the target type you are interested in. Lenses names are derived from the names of the fields by stripping the prefix; you can get to the documentation based on that logic.
Item 2 is fixed in the updated docs.
Fixed in this PR: https://github.com/fjvallarino/monomer/pull/145.
This will be available in Hackage when the next version is released (it will take a few weeks). I interleaved new features between the commits containing Haddock fixes, and pushing an update now would show things not available in 1.4.0.0.
Since the fix is already in main, I'll close the issue.
Also, a new release has been pushed to Hackage, and the documentation should be ready at some point today (it takes a few hours)
From https://github.com/fjvallarino/monomer/issues/136#issuecomment-1120147291:
Not Found: https://hackage.haskell.org/package/monomer-1.4.0.0/docs/Accept.html