Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mimsy!oddjob!gargoyle!ihnp4!inuxc!iuvax!pur-ee!newton.physics.purdue.edu!hal From: hal@newton.physics.purdue.edu (Hal Chambers) Newsgroups: comp.lang.modula2 Subject: Redundant import Message-ID: <802@newton.physics.purdue.edu> Date: Wed, 19-Aug-87 10:54:02 EDT Article-I.D.: newton.802 Posted: Wed Aug 19 10:54:02 1987 Date-Received: Sat, 22-Aug-87 07:32:27 EDT Organization: Purdue Univ. Phys Dept, W.Lafayette, IN Lines: 16 In some recent news articles I noticed the following type of constructs: DEFINITION MODULE abc; FROM IO IMPORT Open, Close, File, Read, Write; ... IMPLEMENTATION MODULE abc; FROM IO IMPORT Open, Close, File, Read, Write; ... 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. Hal Chambers