Replies: 2 comments 6 replies
-
It is an interesting idea, thanks for sharing! I think the step size should be required in that case, there is no way to know what unit the default step of |
Beta Was this translation helpful? Give feedback.
3 replies
-
Hi Jos, I was checking the possibility to include units in
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've encountered the need to make a range with units, let's say
[1 s, 1.1 s, 1.2 s]
.It would be nice for range to accept units like
range(1 s, 1.2 s, 0.1 s)
orrange(1 s, 1.2 s, 100 ms)
.A work around was using
range(1, 1.2, 0.1) s
, but it would be nice for range to accept units so we could mix and match likerange(1 s, 0.02 minute, 1 ds)
.I may be able to import the type to
range
but I was wondering if this would be desirable for this project.Beta Was this translation helpful? Give feedback.
All reactions