CLI: compute topological order on requires #7

Closed
tomerfiliba opened this Issue May 10, 2012 · 4 comments

Comments

Projects
None yet
2 participants
Owner

tomerfiliba commented May 10, 2012

when one switch function requires another, invoke them in a topological order. if there's a cycle, invoke them in the order they are given on the command line

@ghost ghost assigned tomerfiliba May 10, 2012

Owner

tomerfiliba commented May 11, 2012

for the time being, it's enough to invoke the switch functions in the order they are given. topological sorting will be done later

Owner

tomerfiliba commented May 14, 2012

thanks. it will take me some time to get to that though

Owner

tomerfiliba commented Jul 16, 2012

i reached the conclusion that it's quite complicated. the fact that we allow cycles makes things hard. at the moment, the arguments are processed in the order they are given, which should suffice. anyhow, switch functions shouldn't be so complicated to have to depend on the order in which they are run. if we'll ever run into a situation where it makes sense, i'll reconsider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment