-
Notifications
You must be signed in to change notification settings - Fork 5
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
Great Addition #4
Comments
Oh. Yes, and import it with |
I was looking to rewrite the module and looks like you are already working on it. So far your code seems great but I would like to know how will |
Surprisingly well seeing I hadn't looked at the numpy variations much. I started on V last week so I'm a bit new to it. FYI, I also did a new test file which you can find at my git. Not sure how to test deliberate fails yet so haven't. Also not sure that this should fail to exit as my grasp of idiomatic V isn't strong - surprised you chose to fail with 1 rather than -1 (I'm a C/C++/Python person but am really enjoying V). The numpy reverse looks ok too:
|
I have decided to go with #5 |
As a keen Pythonista I loved the idea of implementing range for V but I didn't like having to label the arguments. Here's an adaptation of your implementation using variable length args and generics. If you'd like to use it with credit, please do.
https://github.com/john9631/range
The text was updated successfully, but these errors were encountered: