Data.Graph transitive closure

chessai . chessai1996 at
Wed Jun 19 22:47:39 UTC 2019

I want one, because, why not? It might be useful to those who use that API.
I'm always excited to see APIs become more complete.

On Wed, Jun 19, 2019, 6:39 PM Elliot Cameron <eacameron at> wrote:

> It's hard to imagine reaching for a graph without some thought that you'd
> want to compute a closure. I've wanted this in the past, but I've never
> thought seriously about using Data.Graph for it. Perhaps this is why?
> On Wed, Jun 19, 2019 at 6:20 PM David Feuer <david.feuer at> wrote:
>> I just noticed that Data.Graph doesn't offer a transitive closure
>> operation. Looking into implementing one, I discovered that doing so
>> efficiently has been the subject of non-trivial research [*]. So if there's
>> any demand, we should try to implement a reasonably efficient version in
>> containers. Anybody want one?
>> [*]
>> _______________________________________________
>> Libraries mailing list
>> Libraries at
> _______________________________________________
> Libraries mailing list
> Libraries at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list