🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #3354

Re: modules

#3354
From: ok
Date: Fri, 13 May 1988 01:23
29 lines
1936 bytes
In article <2747@mulga.oz>, lee@mulga.oz (Lee Naish) writes:
> The main uses of a module system are
> 	1) avoiding accidental name clashes, and
> 	2) protecting procedures from being called by anyone.
> 
> THEOREM: Every module system is either too complicated or
> 	 not powerful enough.
> 
> COROLLARY: It is impossible to get more than two people to agree on a
> 	   module system (the failure of the BSI module committee was
> 	   therefore inevitable).
> 
The initial sentence is precisely what my
algebra-for-constructing- programs paper disputed.  If you think
of a module system as an optional extra bolted on afterwards as
a means of protection, you can't expect it to work very well or
be liked much.  I claim that a better approach is to provide a
clean way of building programs out of fragments, which may have
hiding as one of its characteristics.  Examples of systems
taking this approach are CLEAR, EQLOG, Standard ML, and Lincoln
Wallen's paper last year.  I'm sure there are enough people who
like the Standard ML approach, and I _hope_ there are enough
people who like Lincoln's paper, to refute the corollary.  [As a
practical matter, everyone at Quintus likes the Quintus module
system, and the only complaints we've hard are that it isn't
powerful enough.  But then, it fails to be sufficiently powerful
in exactly the same way that Common Lisp does.]

I refrain from comment on Lee Naish's atom-based proposal.
Technical Details
Message-ID: <961@cresswell.quintus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!udel!rochester!cornell!uw-beaver!teknowledge-vaxc!sri-unix!quintus!ok
References: <2747@mulga.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!princeton!udel!rochester!cornell!uw-beaver!teknowledge-vaxc!sri-unix!quintus!ok
From: ok@quintus.UUCP
Newsgroups: comp.lang.prolog
Subject: Re: modules
Keywords: another module scheme
Message-ID: <961@cresswell.quintus.UUCP>
Date: 13 May 88 01:23:58 GMT
References: <2747@mulga.oz>
Organization: Quintus Computer Systems, Mountain View, CA
Lines: 29
Posted: Thu May 12 21:23:58 1988