Module z_toposort

Simple topological sort of tuples {item, [depends], [provides]}.

Copyright 2011 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Simple topological sort of tuples {item, [depends], [provides]}

Data Types

topoitems()

topoitems() = {Name::term(), Depends::list(), Provides::list()}

Function Index

sort/1Return the topological sort of a list.

Function Details

sort/1

sort(L::topoitems()) -> {ok, list()} | {error, {cyclic, list()}}

Return the topological sort of a list.


Generated by EDoc, Oct 31 2014, 00:59:38.