Calvin Rose
Calvin Rose
Alright, looks pretty good and ready to merge to me.
I know this is stale, but I would recommend to set up a system as above - this will be the most efficient. Otherwise, you could simply make a utility...
It would require larger changes - we would need to introduce a new type internally. I suppose some kind of view type, or implementing Copy on Write for arrays and...
> Another usage scenario is that sometimes I prefer map, filter, etc. to return a tuple instead of an array, so that I don't accidentally modify it. That seems like...
> Another approach is to introduce a new keyword similar to def and var I don't see any reason to add a new special form. The idea itself isn't bad,...
This would be nice to have, but it's not clear if moving this check to the compiler or flychecker would be better. Putting it in the compiler would catch more...
This will not change for backwards compatibility purposes - however, one is free to implement their own version of pattern matching. Alternatively, one could add new syntax for arity strict...
I think this is actually a quirk of batch: https://stackoverflow.com/questions/39435598/why-does-the-command-if-errorlevel-1-do-result-in-an-exit-of-batch-file-proc Basically, the check is not for equal, but greater than or equals to. I don't think this is actually a...
Usually I would say that changing behavior like this is not a good idea, but in this particular case, I think it makes sense as the fix is pretty general...
I have no problem with this except that we would need to maintain this, and it really seems more like a way to test the zig compiler tool-chain rather than...