To use: (import (slib topological-sort))

Only topological-sort is exported, so use as (topological-sort dag pred)

For more information including compatibility, examples and test cases, see https://github.com/petercrlane/r7rs-libs