-
Notifications
You must be signed in to change notification settings - Fork 6
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
number of occurences of free variable & access to free variable list #29
Comments
Thanks for using Bindlib! For For I'll see what I can do to add these two features when I have a minute, hopefully soon. |
Hello and thanks for the nice compliment about our word, it is always nice to hear. For For Again having you own box type above bindlib should solve the problem, as you know how many type of variables you use. I just made a pull request with an example doing this. Cheers |
Dear Bindlib maintainers,
We are using your library in Catala and we are very happy about it. However, while trying to implement heuristics for some optimization scheme, we find that the API you provide does not give some important information. Namely, the number of occurrences for a specific free variable.
Moreover, while you provide a way to get all the free variable in the form of a context, you do not provide a way to get the uid of the variables, that are sometime pretty important for debugging purpose. It is also possible that we are wrongly using your library. Is is possible to provide a function to get access to the free variables ?
Best,
Alain
The text was updated successfully, but these errors were encountered: