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

using haxl for data sources where dependencies are not statically known #30

Closed
mwotton opened this issue Jun 12, 2015 · 3 comments
Closed

Comments

@mwotton
Copy link

mwotton commented Jun 12, 2015

I have a learning algorithm that chooses variables to make decisions on that i'm trying to integrate into my Haxl-based project. The snag here is that the learning alg chooses those variable dynamically, making it hard to write a datasource that doesn't just fetch everything it might look at.

I think I can see a way around this using template haskell and introspecting on the generated decision tree, but if I'm overcomplicating it I'd love to hear about it.

@simonmar
Copy link
Contributor

I'm not sure I understand enough about your use case to comment. Could you give some example types to give more context?

@simonmar
Copy link
Contributor

Going to close this out because I'm not sure how we can make progress, feel free to re-open if you have more info.

@mwotton
Copy link
Author

mwotton commented Jul 7, 2015

It was an ill-formed question :) as I learned more I worked out how to do it.

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

2 participants