hakyll-3.1.0.0: A simple static site generator library.

Hakyll.Core.DirectedGraph.DependencySolver

Description

Given a dependency graph, this module provides a function that will generate an order in which the graph can be visited, so that all the dependencies of a given node have been visited before the node itself is visited.

Synopsis

Documentation

solveDependenciesSource

Arguments

:: Ord a 
=> DirectedGraph a

Graph

-> [a]

Resulting plan

Solve a dependency graph. This function returns an order to run the different nodes