
12 Aug
2010
12 Aug
'10
8:02 a.m.
On Thu, Aug 12, 2010 at 1:38 PM, Simon Marlow
On 12/08/2010 12:28, Johan Tibell wrote:Sorry, I was being unclear. The problem is that library A can't pass a
MapIntDouble to library B as the types defined by the two libraries aren't compatible.
That's true, but is it really going to cause many problems in practice? Which libraries have functions that take a Map argument, other than the Map library itself?
I've seen a few on Hackage, but I haven't run any comprehensive study. The same problem applies to tuples, lists, sets and other data structure as well. Anecdotally you see more uses of maps and other data structures as programs get larger but by its very nature Hackage is a place for libraries, not large programs. Cheers, Johan