Fergus Henderson wrote:
> (If nothing at all can be guaranteed, then no-one should be using those
> features, and they should be removed from the Hugs/ghc extension libraries.
> But it should be possible to make some guarantees.)
What on earth is a guarantee? GHC is a research project. I don't expect to
be able to sue Microsoft or the University of Glasgow should it be necessary,
in ten years time, to replace unsafePerformIO by a more sophisticated version.
I trust Simon PJ + crew not to gratuitously cause annoyance by renaming
unsafePerformIO as unsafeXYZZY the next time there is an R in the month,
but I don't think I can expect more. I suppose one could write documentation
but I never had any bother guessing what unsafePerformIO is supposed to do.
If people are working on documentation I'd rather they set about documenting
the standard functions. (And there is certainly plenty of room for
documentation there . . .)