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 compel us to check for them :) MaurĂcio
Why not just have a Haskell module (that defines a number of CAFs) be your build-time config? Unless there's an important reason to be using the FFI, this seems like a much simpler approach. Xmonad and Yi use a similar technique even for load-time constant configurations.
-- Live well, ~wren _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
