Re: Problems with modules

Jaap Vermeulen (
Tue, 3 May 94 19:57:33 GMT

In <> "Steven Miale" <> writes:

>The problem is that both modules have information needed by the
>other module. In this case, the user's module will look something
>like this:
> Rules = [('rec.arts.anime', SimpleGrep, AnimeRules)]
>The library has to have 'Rules' defined in order to compile. But
>Rules needs a definition of 'SimpleGrep' (from the library) in
>order to compile.

Can't you break it up in three files (with SimpleGrep in the third
file)? Or use a dummy value in one of the files that gets replaced by
the actual value once the next module is imported?


Jaap Vermeulen					+--------------------------+
						| Sequent Computer Systems |
	Internet :		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+