Conversation
|
Wouldn't the order |
|
Ah interesting, didn't think about it. The |
|
I will rebase and merge. I still prefer the |
e4716c6 to
38beaf5
Compare
|
Another small argument in favor of the julia> rand(NTuple{4} => Complex => 1:3)
(2 + 2im, 2 + 3im, 1 + 3im, 2 + 1im)(this example does not work yet with this PR, patch coming). |
Do not restrict the first argument to be a `DataType`/`UnionAll`, as `make` is about to start accepting non-type objects as first argument.
This make the following API available:
rand(T => x)is equivalent torand(make(T, x))rand(T => (x, y, ...))is equivalent torand(make(T, x, y, ...))