Refactor Digraph to use Data.Graph when possible

Authored by ezyang.

Description

Refactor Digraph to use Data.Graph when possible

Summary: This just rewrites the IntGraph data type.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>

Test Plan: validate

Reviewers: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D708

thomie added a subscriber: thomie.Mar 9 2015, 2:55 PM

This commit broke the build.

ezyang added a comment.Mar 9 2015, 3:10 PM

Oh, I was wondering why this wasn't failing locally for me; it looks like the Functor instance was added to SCC later than we have in some bootstrapped versions of the library. I'll preprocessor a fix.