Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

CLI: compute topological order on requires #7

Closed
tomerfiliba opened this Issue · 4 comments

2 participants

@tomerfiliba
Owner

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

@tomerfiliba tomerfiliba was assigned
@tomerfiliba
Owner

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

@tomerfiliba
Owner

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

@tomerfiliba
Owner

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
Something went wrong with that request. Please try again.