Excerpts from dmitry.kurochkin's message of Mon Aug 18 14:07:39 +0200 2008:
> Hello darcs developers.
> 
> I am working on unifying HTTP and URL module. So that URL provides a
> common interface for curl, libwww and Network.HTTP libs (and possibly
> wget later).
> 
> And I have run into a problem with import cycle. In network code (and
> in modules that are imported there) we use Bug. And Bug downloads
> maintenance file and thus imports URL module.
> 
> I do not know what is the best way to resolve this issue. Can you give
> me any advices?

Function(s) in the Bug module could be abstracted over the function to
download the maintenance file, then the URL or another one can re-export
most used functions by partially applying them.

-- 
Nicolas Pouillard aka Ertai

Attachment: signature.asc
Description: PGP signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to