readEither in ghc-6.10. ?

Ian Lynagh igloo at earth.li
Sat Oct 11 10:37:36 EDT 2008


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



More information about the Glasgow-haskell-users mailing list