readEither in ghc-6.10. ?

Hi, I've got errors when compiling with ghc-6.10.0.20081007 Not in scope: `readEither' It is imported via: import GHC.Read (readEither) and used to work with ghc-6.8. What should I use as replacement? Cheers Christian P.S. It is also not mentioned in the changes: http://www.haskell.org/ghc/dist/stable/docs/users_guide/release-6-10-1.html

Hi Christian, On Fri, Oct 10, 2008 at 05:40:24PM +0200, Christian Maeder wrote:
Not in scope: `readEither'
import GHC.Read (readEither)
and used to work with ghc-6.8.
What should I use as replacement?
P.S. It is also not mentioned in the changes:
We don't guarantee anything about functions in GHC.* modules (with the half-exceptions of GHC.Exts and GHC.Prim). I'd recommend wrapping reads instead. Thanks Ian
participants (2)
-
Christian Maeder
-
Ian Lynagh