This is a bug in GHC 2.01 (and 0.29 I think). We'll fix it in 2.02.
(But that means taking a few more hours to rebuild the 2.02 builds that are
about to go out of the door :-).
Simon
| A couple of my colleagues are using Haskell to implement a simple desk
| calculator but they have run into a problem reading in numbers. Essentially
| they need something that will convert a String to a Float. The first attempt
|
| > atof:: String -> Float
| > atof s = read s
|
| works fine except that it fails for some reasonable inputs like "2" and there
| is no way of detecting and handling failures. I am just about to code an
| `atof' for them but was wondering if there is a better way.