Metanote: I'm not sure how Debian package management are supposed to
work but I'd have thought Antti-Juhani Kaijanaho should be receiving
bug reports about the packaging and things which might be related to
the packaging.  Both of Havoc's reports are very clearly general
problems in Hugs.

As for the lousy error messages in iomonad.c, a couple of years back
(ie when I still worked on Hugs), I had a look at the spec and at the
code with the intention of making them match.  Problem is that I
couldn't make any sense of the official spec - some of the error
conditions that the spec wanted me to distinguish couldn't actually be
distinguished under Unix.  At this point, I should have started asking
around, rooting through GHC/HBC source code, suggesting clarifications
in the report, etc... but ah'm no a good haggis - ah'm just no a good
haggis - so I gave up and did something more enjoyable and higher
priority.

Or, to put it another way... before we can implement the spec, we
first have to figure out what the spec means.  Ideally, this means
that for each operation we specify exactly how errno values (or
whatever) map onto IOError values (for each operation?) for every 
platform we care about.  (I suppose this should be added to the 
"improve IO libraries" entry in the wishlist.)

--
Alastair Reid

Reply via email to