My intuition says that none of the side-effects in my
implementation are
visible from the abstract level of the module. However, the use of
unsafePerformIO certainly modifies the behaviour of the
module. For example,
the following definitions at the beginning of a GHCi session
on
In local.glasgow-haskell-users, you wrote:
I think Posix.runProcess should give access to the eventual exit state of
the process, if any. Two possible ways:
(1) Change its result to IO (IO ExitCode), the inner action being something
that waits for the process to complete (without
The documentation for FFI in the GHC user's guide seems to be out of date
with regard to passing Ptrs across.
1. My reference is
http://www.haskell.org/ghc/docs/latest/set/ffi.html
(from http://www.haskell.org/ghc/docs/latest/set/book-users-guide.html)
Is this the latest documentation