Skip to content
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

No Vector() constructor #6586

Closed
nalimilan opened this issue Apr 19, 2014 · 3 comments
Closed

No Vector() constructor #6586

nalimilan opened this issue Apr 19, 2014 · 3 comments

Comments

@nalimilan
Copy link
Member

Maybe this is by design. To create a vector, you have to do Array(T, N). It felt natural to me do also use Vector(T, N), but this fails. I know this was frustrating when I made my first steps in Julia.

@quinnj
Copy link
Member

quinnj commented Apr 19, 2014

See here: #3427 and here: #1470 for related issues.

@JeffBezanson
Copy link
Sponsor Member

Also related: #3214
closing as dup

@nalimilan
Copy link
Member Author

Yeah, this is just a very simple case illustrating the more general issue of type aliases constructors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants