Control.Monad.ST module description should reference Data.STRef
The description of "Control.Monad.ST" should mention the highly related module "Data.STRef" somewhere, preferably so that a clickable link is generated in the HTML library documentation.
1 or 2 years ago, I was looking for a simple state monad, and found "Control.Monad.ST", but did not understand it all. Googling around, I found and used "Control.Monad.State" from the MTL-library instead.
Now I accidentally found "Data.STRef", and immediately understood how I could use "Control.Monad.ST". It works fine and it is easier to use for very simple states - especially since it is part of the standard library. A simple reference to "Data.STRef" would have clearified it immediately for me - and probably for others too.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.2 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |