libProvides mg lib = [ m | (m,mg') <- Map.toList (libModMap lib), mg == mg']
libProvides mg lib = [ m | (m,mg') <- Map.toList (libModMap lib), mg == mg']
libProvides mg lib = [ m | (m,mg') <- Map.toList (libModMap lib), mg == mg']