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
Make and
and or
work with 0 arguments.
#4696
Comments
Bumping this to 2.2 not because it's particularly important but because I have a fix for #4132 that also changes this, so it would be nice to squeeze it into the discussion period. |
What are the results of these terms when called with zero arguments? |
In SBCL (and this makes sense to me intuitively):
The reason this makes sense intuitively to me is that variadic |
Just one minor data point, we default to |
also, I personally think 0-arg |
@deontologician --I think in ReQL 0-arg |
I think Allowing 0-argument |
Marking as settled with |
This is in next (the review was completed a while ago and I had just forgotten to merge it in). |
Now that we have
r.args
it's extremely annoying that they don't with with no arguments. (Also, other languages like Common Lisp with arbitrary-arityand
andor
operators have 0-argument version.)There's another issue for this somewhere but I couldn't find it searching.
The text was updated successfully, but these errors were encountered: