Re: Ptr and ForeignPtr Questions

2001-09-19 Thread Manuel M. T. Chakravarty
Ashley Yakeley <[EMAIL PROTECTED]> wrote, > 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 > > (from

Ptr and ForeignPtr Questions

2001-09-19 Thread Ashley Yakeley
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 (from ) Is this the latest documentation avail

Re: Posix.runProcess

2001-09-19 Thread George Russell
"Manuel M. T. Chakravarty" wrote: > > I am doing this kind of stuff in the `Processes' module of > > http://www.cse.unsw.edu.au/~chak/haskell/ports/ > > I have not clue whether it runs on Windows or not, but would > be interested to know if you find out. [snip] I'm afraid I won't, because I d

Re: Posix.runProcess

2001-09-19 Thread Manuel M. T. Chakravarty
I am doing this kind of stuff in the `Processes' module of http://www.cse.unsw.edu.au/~chak/haskell/ports/ I have not clue whether it runs on Windows or not, but would be interested to know if you find out. Manuel -=- George Russell <[EMAIL PROTECTED]> wrote, > Volker Stolz wrote: > > > >

Re: Posix.runProcess

2001-09-19 Thread George Russell
Volker Stolz wrote: > > 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

Re: Posix.runProcess

2001-09-19 Thread Volker Stolz
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 b

RE: unsafePtrCompare, anybody?

2001-09-19 Thread Simon Marlow
> 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