Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchical outputs from branches #18

Open
jacg opened this issue Apr 7, 2020 · 0 comments
Open

Hierarchical outputs from branches #18

jacg opened this issue Apr 7, 2020 · 0 comments

Comments

@jacg
Copy link
Owner

jacg commented Apr 7, 2020

Currently we have

pipe([out.Y], out.X) -> Namespace(Y=<branch output>, X=<main output>)

which is great, but then

pipe([out.X], out.X) -> Namespace(X=(<branch output>, <main output>))

which is not so good.

You might say "so don't use the same output name twice in the same network!" but that's easier said than done:

abstraction = [out.X]
pipe(abstraction, out.X)

Might these issues be mitigated by enabling hierarchical naming for branches?

Maybe something like

pipe(out.B([out.X]), out.X) -> Namespace(X=<main out>, B=Namespace(X=<branch out>)

This might form part of a solution to #17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant