See https://github.com/GregorySchwartz/modularity for the latest version.
modularity
is a Haskell library for computing Newman-Girvan modularity in
dense and sparse matrices. Check the documentation for information on each
function. Relies on eigen-3.3.4.1
right now.