Re: Sergey Mechveliani's letter 

(on .hi-files)

the name "interface file" is slightly misleading.
unlike .h-files, these files shouldn't be counted 
as belonging "to the program source",
rather they are something that the compiler uses (and generates),
much like an object file.

the user really should think in terms of
"package declaration / package implementation"
which (unfortunately) are both in the .hs file.

(on cyclic dependencies)

sorry, this is a no-answer as well, but: who needs them?

in the few cases where i had a cyclic dependency,
and i wanted to avoid it (because hugs wouldn't handle it),
i re-thought the placement of identifiers 
and the programm looked generally better afterwards.

are there typical cases where cyclic module dependencies
are the "natural" solution?

best regards,
-- 
Johannes Waldmann   Institut fur Informatik   FSU   D-07740  Jena  Germany
http://www5.informatik.uni-jena.de/~joe/ mailto:[EMAIL PROTECTED]

Reply via email to