[Haskell-cafe] Re: syscall, sigpause and EINTR on Mac OSX

Tomasz Zielonka tomasz.zielonka at gmail.com
Sun Dec 11 15:09:19 EST 2005


On Sun, Dec 11, 2005 at 07:09:20PM +0000, Joel Reymont wrote:
> {-# NOINLINE children #-}
> children :: MVar [Child a]
> children = unsafePerformIO $ newMVar []

This is asking for disaster. children shouldn't have a polymorphic type!

Best regards
Tomasz

-- 
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


More information about the Haskell-Cafe mailing list