createAdjustor on Darwin

2001-10-18 Thread Ashley Yakeley
The Darwin (Mac OS X) port of GHC 5.00.2 appears to be missing createAdjustor. As I understand it createAdjustor does some kind of architecture-specific thing with the stack, or something. Is anyone working on porting GHC 5.02 to Darwin? Will createAdjustor be included? I need it because I do

Re: Working character by character in Haskell

2001-10-18 Thread Andre W B Furtado
Humn... I agree with both of you, Albert and Tom. I started it from the beginning, using map and don't using reverse anymore. But the C program is still 7x faster than the Haskell one. Here is the code of the Haskell program: main :: IO () main = do bmFile <- openFileEx "in.txt" (BinaryMode Read

Re: Working character by character in Haskell

2001-10-18 Thread Albert Lai
"Andre W B Furtado" <[EMAIL PROTECTED]> writes: [...] > For example, suppose function doSomeStuffWith returns its own parameter. > Using a 1.5MB file in this case, the Haskell program ends in almost 5 > seconds, while the C program ends in less than 0.5 seconds... Is my Haskell > program too bad

Working character by character in Haskell

2001-10-18 Thread Andre W B Furtado
I'm trying to create a fast program in Haskell that reads the content of a file, do some stuff with its characters (one by one) an then save the final result (the modified characters) in another file. The fastest program I've developed so far is: main :: IO () main = do bmFile <- openFileEx "in.

New GHC 5.02 InstallShield

2001-10-18 Thread Reuben Thomas
I've finally managed to produce a new InstallShield that fixes all the known problems with the old one (note that doesn't include non-InstallShield-specific problems). In particular, the win32 library is now fully present, the util package comes with the profiling headers, and GHC installs its