[cvs-nhc98] commit

Malcolm Wallace malcolm@sparud.net
Mon, 23 Oct 2000 18:39:51 +0200 (CEST)


malcolm: Mon Oct 23 18:39:51 CEST 2000
nhc/src/prelude/IOExtras DIORef.hs FreezeIOArray.hs Makefile NewIOArray.hs NewIORef.hs ReadIOArray.hs ReadIORef.hs UnsafePtrEq.hs WriteIOArray.hs WriteIORef.hs

Update of /usr/src/master/nhc/src/prelude/IOExtras
In directory hinken:/tmp/cvs-serv2867

Modified Files:
	DIORef.hs FreezeIOArray.hs Makefile NewIOArray.hs NewIORef.hs 
	ReadIOArray.hs ReadIORef.hs UnsafePtrEq.hs WriteIOArray.hs 
	WriteIORef.hs 
Log Message:
Re-implement IOArray operations as 'foreign import's, not 'primitive's.
Re-implement IORef as a single-element IOArray - this solves the problem
with the previous implementation that IORefs were not garbage collected
when they became unreachable.