Fast Mutable arrays and a general question about IO

Ron de Bruijn rondebruijn@yahoo.com
Sat, 3 May 2003 09:08:08 -0700 (PDT)


> module Main where
> 
> import IOExts
> 
> data Lesson = Lesson String Int Int String String
> 	deriving Show
> 
> main = do
> 	test <- newIOArray (0,1) (Lesson "" 0 0 "" "")
> 	...
> 
> -- 
> Glynn Clements <glynn.clements@virgin.net>

IOExts is a Hugslibrary. Isn't it much slower than
GHC's IOArray? 

P.S. It annoys me that GHC's library's are all
compiled. Is there no way I can get there sources, so
that they are portable between for instance Hugs or is
placing the compiled files in your program folder
enough to let Hugs understands the functions of GHC? 

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com