Article View: comp.lang.modula2
Article #3763Re: Redundant import
From: Samuel B. Bassett
Date: Fri, 21 Aug 1987 05:16
Date: Fri, 21 Aug 1987 05:16
18 lines
1512 bytes
1512 bytes
In article <802@newton.physics.purdue.edu> hal@newton.physics.purdue.edu (Hal Chambers) writes:
>It is not necessary to repeat the imports in the implementation module
>since the all declarations of the definition module are automatically
>known to the implementation module. The implementation module only
>needs to import names which are to be hidden from the definition module.
As a followup, is it then considered a bug about which one is
justified in screaming at the compiler writer, when objects imported in the
DEFINITION Module are _NOT_ visible when compiling the IMPLEMENTATION Module?
e.g. Logitech's Modula-2/86 for MS/PC-DOS.
Or is this a matter left to the judgement/ingenuity of the implementor?
--
Sam'l Bassett, Semantic Engineer -- My words & ideas are for sale!
34 Oakland Ave., San Anselmo CA 94960; (415) 454-7282
UUCP: {...known world...}!hplabs OR ptsfa OR lll-crg!well!samlb;
Compuserve: 71735,1776; WU Easylink ESL 6284-3034; MCI SBassett
Technical Details
Message-ID:
<3785@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!sri-unix!rutgers!lll-lcc!well!samlbReferences:
<802@newton.physics.purdue.edu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!sri-unix!rutgers!lll-lcc!well!samlb From: samlb@well.UUCP (Samuel B. Bassett) Newsgroups: comp.lang.modula2 Subject: Re: Redundant import Message-ID: <3785@well.UUCP> Date: Fri, 21-Aug-87 01:16:15 EDT Article-I.D.: well.3785 Posted: Fri Aug 21 01:16:15 1987 Date-Received: Sat, 22-Aug-87 18:32:06 EDT References: <802@newton.physics.purdue.edu> Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 18