Haskell: graph-core