script to ~build out a list of lists
authorAlex Dehnert <adehnert@mit.edu>
Mon, 12 Mar 2012 18:28:52 +0000 (14:28 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Mon, 12 Mar 2012 18:28:52 +0000 (14:28 -0400)
commit0cb6a3d571338cb941aa95a8c2f4dc686bcd6709
treea83001099c014f5a5d3b87b4e51f5356d0fa6b2a
parente25b140dafba8bc9788682795413497520473611
script to ~build out a list of lists

In particular, given a starting list, this computes the transitive closure
under the operations:
* get the lists this list owns
* get the lists this list contains
* (disabled) get the lists that contain this list

It allows specifying a list whose members should be skipped, as well.

The code is easy to configure for which of those operations to use, and
whether to do it recursively or not. At the moment, this isn't exposed to
the command line, though that would be a reasonable feature to add.
compute-list-closure [new file with mode: 0755]