RFC: External library infrastructure

Ross Paterson ross@soi.city.ac.uk
Thu, 14 Nov 2002 10:01:40 +0000


On Tue, Nov 12, 2002 at 05:56:13PM -0000, Simon Marlow wrote:
> Absolutely.  I didn't mean to sound so GHC-centric.  It would be great
> if the same infrastructure supports multiple compilers/interpreters.

On the other hand, my impression is that if someone did something that
worked with GHC it would be fairly easy to adapt to Hugs, probably with
a script that preprocessed a tree of modules.  The exception is modules
that need extra command-line arguments, particularly FFI modules.
For those, Hugs needs a mechanism to set options on a per-file and
per-hierarchy basis.