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

Nested functions should know about internals #37

Closed
nsbgn opened this issue Sep 17, 2021 · 0 comments
Closed

Nested functions should know about internals #37

nsbgn opened this issue Sep 17, 2021 · 0 comments

Comments

@nsbgn
Copy link
Contributor

nsbgn commented Sep 17, 2021

Consider f (g h) x, with f, g, h functions, (g h) a function, and x data. f should be connected to the same internal data that g is connected to.

,--internal-,
↓       |   |
λ → h → g → f
↑           ↑
`---- x ----'
@nsbgn nsbgn added this to the Version 0.2: RDF support milestone Sep 17, 2021
nsbgn added a commit that referenced this issue Sep 27, 2021
We add `ta:feeds` connections from every outer internal node to inner
internal nodes, so that parameter values in the outer operation get
passed along to the beginning of the pipeline of the inner operations.
This solves issue #37, where operations-as-parameters were made aware of
parameter values of the enclosing function, but not if they were nested
inside other operations-as-parameters.
@nsbgn nsbgn closed this as completed Sep 27, 2021
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