Re: Explicit module scoping

From: Warwick Harvey <wh_at_icparc.ic.ac.uk>
Date: Tue 28 Aug 2001 01:34:57 PM GMT
Message-ID: <20010828143456.C3691@tempest.icparc.ic.ac.uk>
On Tue, Aug 28, 2001 at 01:59:29PM +0100, Joachim Schimpf wrote:
> Andrew John Sadler wrote:
> > and if it should (as it does), shouldn't the module expansion then
> > be done at run-time?
> 
> You are right, we could in pricinple turn the call into a metacall
> and do all the work at runtime. But I'd prefer not to have such
> a significant performance difference caused just by putting
> the :- lib(ic) in the wrong place. I'd rather stick to
> requiring declaration before use. Any opinions?

I don't think it's unreasonable to require the loading of a library to be
textually before its first use in a file.  Unless somebody can think of a
counter-example?

Cheers,
Warwick
Received on Tue Aug 28 14:34:57 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:09 PM GMT GMT