#7182: Control.Monad.ST module description should reference Data.STRef ------------------------------+--------------------------------------------- Reporter: guest | Owner: Type: feature request | Status: new Priority: normal | Component: Compiler Version: 7.4.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Testcase: Blockedby: | Blocking: Related: | ------------------------------+--------------------------------------------- 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. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7182> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs