-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
empty namedtuple is not a leaf #52
Comments
Discussion about this was in #36 (comment). Can you see any scenarios where having this be true would be helpful? |
I didn't know about #36. I didn't think the question thoroughly yet but Maybe we should just have: isleaf(x) = isempty(children(x)) ? Or I could introduce in #51 a |
The problem with using |
Assuming we want to stop specialcasing the empty tuple for |
before tagging v0.5 we should take a decision on this issue |
Since no one actually complained about this, we can just keep things as they are. |
I guess we should consider this a bug.
The text was updated successfully, but these errors were encountered: