Re: [Haskell-cafe] Re: Linking and unsafePerformIO

2008-10-15 Thread wren ng thornton
Mauricio wrote: What I actually want to use that way are build time configs. For instance, 'isThisLibraryThreadSafe' or 'maximumNumberOfBigObjects'. Actually, I don't know why people allow build time options at all. We always use the best set of options, and the alternatives are there just to

[Haskell-cafe] Re: Linking and unsafePerformIO

2008-10-14 Thread Mauricio
Hi, If I have a Haskell wrapper (with unsafe...) over a function that's never going to return different values and is always side-effect free, but can change depending on compile time options of its library; my program is running, and then the version of my library is updated by my distribution