-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 for, while, etc. return Nothing instead of () #28
Comments
BTW, not "if" since that returns the value of whatever branch executes. |
...unless of course no branch executes. |
Excellent. Thanks for the tips. Will attempt this. On Jun 2, 2011, at 6:32 PM, JeffBezansonreply@reply.github.com wrote:
|
I'm getting errors like this:
which I think comes from this line:
So |
In this case the frontend is passing |
If you want you can send me a list of occurrences of jl_null you're not sure about and I can help. |
Closed by 20e911d. |
Remove test_pattern config-key
First take on pacf
…1047) Stdlib: NetworkOptions URL: https://github.com/JuliaLang/NetworkOptions.jl.git Stdlib branch: master Julia branch: master Old commit: f7bbeb6 New commit: 976e51a Julia version: 1.11.0-DEV NetworkOptions version: 1.2.0 (Does not match) Bump invoked by: @DilumAluthge Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/NetworkOptions.jl@f7bbeb6...976e51a ``` $ git log --oneline f7bbeb6..976e51a 976e51a Use human-readable title in the docs (#30) 895aee9 Update ssh-rsa key for github.com (#29) db83efd fix an issue found by JET (#28) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
We discussed this once a long time ago and decided that it would be nice to have a
Nothing
object that prints as nothing. Then when entering code into the repl, one doesn't have to worry about putting an unseemly;
at the end of a for loop to suppress the annoying()
. Also it would make some potential errors more sensible: if you try to do anything with theNothing
value it can throw a fairly specific error, whereas()
is a perfectly legitimate value for many expressions to produce.The text was updated successfully, but these errors were encountered: