store: Add 'topologically-sorted'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 23 Jan 2014 21:13:27 +0000 (22:13 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 23 Jan 2014 23:01:50 +0000 (00:01 +0100)
commit50add47748eb40371d8b88208a13e7230d15c220
tree50d4813ddfdb39db532335bfcd8eba0b294bdff3
parentcd4027fa478e20b59e798dd163a54e7ff9c42c98
store: Add 'topologically-sorted'.

* guix/store.scm (topologically-sorted): New procedure.
* tests/store.scm ("topologically-sorted, one item",
  "topologically-sorted, several items", "topologically-sorted, more
  difficult"): New tests.
guix/store.scm
tests/store.scm