-syslib = -package

2000-04-14 Thread malcolm-ghc
I saw in a recent CVS commit log that the -syslib flag in some Makefiles was being changed to -package. Tell me this rumour isn't true! Regards, Malcolm

RE: -syslib = -package

2000-04-14 Thread Simon Marlow
Simon Marlow wrote: I saw in a recent CVS commit log that the -syslib flag in some Makefiles was being changed to -package. Tell me this rumour isn't true! I don't mind particularly, although I shall have to change a line or two in my Makefiles. It might prevent me being

RE: -syslib = -package

2000-04-14 Thread malcolm-ghc
When you're compiling a module to be part of a package, you give the -package-name blah option. When you want to bring a package into scope, you give the -package blah option. We also plan to have a way to install remove packages in an existing GHC installation. Comments? Ideas for

Re: putMVar on full MVar

2000-04-14 Thread George Russell
Simon Marlow wrote: Let me see if I've got the semantics right: takeMVarMulti makes a non-deterministic choice between the full MVars to return the value, and if there are no full MVars it waits for the first one to become full? Yes that's precisely right. putMVarMulti is the converse. (So

RE: putMVar on full MVar

2000-04-14 Thread Simon Marlow
--- blocking versions takeMVar :: MVar a - IO a putMVar :: MVar a - a - IO () --- non-blocking versions tryTakeMVar :: MVar a - IO (Maybe a) tryPutMVar :: MVar a - a - IO Bool --- current putMVar: putMVarMayFail :: MVar a - a - IO ()