[project @ 2001-01-08 12:58:45 by chak]
authorchak <unknown>
Mon, 8 Jan 2001 12:58:45 +0000 (12:58 +0000)
committerchak <unknown>
Mon, 8 Jan 2001 12:58:45 +0000 (12:58 +0000)
commitd82e38d05d2dbbf5d155b0c91d3d6b172c5ffbd4
tree2784435c239380803416ff029912b84cf351e9a9
parentcf2b7f7b4e945e27bda9baa020845bb965eea261
[project @ 2001-01-08 12:58:45 by chak]
Revision of Marcin's QError module

* I think, there was a rough consensus that Marcin's module provides the
  right kind of interface for handling "errno"s

* Malcolm preferred an enumeration, but Marcin made a convincing argument
  that this doesn't go well with architecture-dependent variations of "errno"

* Recoded the hsc magic into autoconf magic

* In hsc files, errno constants can be accessed directly; to provide access
  for ordinary Haskell programmer, constants for a range of common symbols are
  provided (their values are determined by configure)

* Introduced an `Errno' newtype to increase type safety

* renamed the throwIfXXX functions to throwErrnoIfXXX to have the original
  names available in the language independent MarshalError

* FIXME: We need a thread local getErrno in the RTS!

(It all compiles, but is still to be tested.)
aclocal.m4
configure.in