Instant readFile

2000-11-15 Thread George Russell
The readFile :: FilePath -> IO String action returns the contents of the associated file. This is almost what I want, but not quite, because readFile is lazy. Hence if the string is only partly read, the file is still open. What I want instead is a function which (a) opens the file; (

RE: Problems with libgmp

2000-11-15 Thread Michael Marte
Hello Simon, > So, I can't quite work out what went wrong in your case. If the build > didn't detect GMP 2, then it should have just used the one in the tree. Obviously, when linking, it did not use the one in the tree :-( Conclusion: The Linux linker does not behave like other linkers or there

RE: Problems with libgmp

2000-11-15 Thread Simon Marlow
> I am maintaining the Haskell stuff at informatik.uni-muenchen.de. > (I took over the job from Sven Panne.) > > As a first exercise, I try to compile ghc-4.08.1 from scratch. > But I always run into trouble with the libgmp stuff. > IMHO, my problems are caused by several factors: > > 1. We use