-
Notifications
You must be signed in to change notification settings - Fork 10
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
is Alloc needed for visitChildren? #19
Comments
You're absolutely right, there's no need for passing userdata through visitChildren. |
You are very welcome. Thanks for the bindings! |
@chetant, I've already removed the Alloc requirement (and the user data parameter) in my branch. Sorry I haven't pushed it into this repo yet; as I mentioned in another bug I'm hoping to get it in sometime this week. |
That's great!
|
@ghorn, please see the |
I'm using a wrapper to avoid the
Alloc
requirement forvisitChildren
:Is this a reasonable thing to do? I don't see a reason to pass the data pointer through the c library when it can be done in haskell.
The text was updated successfully, but these errors were encountered: