Copyright © 2011 Marc Worrell
Authors: Marc Worrell (marc@worrell.nl).
cycles() = [[name()]]
name() = atom() | {atom(), term()}
topoitem() = {Name::name(), Depends::[atom()], Provides::[atom()]}
topoitems() = [topoitem()]
sort/1 | Return the topological sort of a list of items. |
sort(L::topoitems()) -> {ok, [name()]} | {error, {cyclic, cycles()}}
Return the topological sort of a list of items. Each item lists its provisions and dependencies.
Generated by EDoc