> You can't use atomically inside unsafePerformIO. It's not really inside unsafePerformIO. It's in a separate thread spawned by unsafePerformIO. Anyway, it seems to work correctly. Silvio