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

Partial method completion at REPL #6338

Closed
simonster opened this issue Mar 31, 2014 · 3 comments
Closed

Partial method completion at REPL #6338

simonster opened this issue Mar 31, 2014 · 3 comments
Labels
REPL Julia's REPL (Read Eval Print Loop)

Comments

@simonster
Copy link
Member

It would be cool if we could restrict the methods list by the types of the arguments:

julia> a = 1;

julia> dot(a,\t
dot(x::Number,y::Number) at linalg/matmul.jl:53

It would be really cool if we could use type inference to get the inferred types of not-yet-evaluated arguments:

julia> a = 1;

julia> dot(a+1,\t
dot(x::Number,y::Number) at linalg/matmul.jl:53
@dhoegh
Copy link
Contributor

dhoegh commented Feb 26, 2015

This is a really good idea, it is actually so good that Julia already does this today:) I implemented it in #9676 and made some corrections in #10161. But it only handles the first case I do not know if this should be closed or be kept open for the second case.

@ivarne
Copy link
Member

ivarne commented Feb 27, 2015

The seccond case will probably depend on #10091. Maybe just leave a reference there, and close this.

dhoegh added a commit to dhoegh/julia that referenced this issue Jun 12, 2015
dhoegh added a commit to dhoegh/julia that referenced this issue Jun 13, 2015
the input types for a function call and added test for the new
functionallity, fix  JuliaLang#6338
dhoegh added a commit to dhoegh/julia that referenced this issue Oct 12, 2015
…ove non matching methods. Add test for the new functionality, fix  JuliaLang#6338.
dhoegh added a commit to dhoegh/julia that referenced this issue Oct 12, 2015
…ove non matching methods. Add test for the new functionality, fix  JuliaLang#6338.
dhoegh added a commit to dhoegh/julia that referenced this issue Oct 12, 2015
…ove non matching methods. Add test for the new functionality, fix  JuliaLang#6338.
dhoegh added a commit to dhoegh/julia that referenced this issue Oct 13, 2015
…ove non matching methods. Add test for the new functionality, fix  JuliaLang#6338.
@Mirage10
Copy link

Mirage10 commented Nov 8, 2015

very very cool. thumbs up!

tkelman pushed a commit that referenced this issue Nov 29, 2015
…ove non matching methods. Add test for the new functionality, fix  #6338.

(cherry picked from commit f8196cc)
ref #11679
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

No branches or pull requests

5 participants