-
Notifications
You must be signed in to change notification settings - Fork 644
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
Dependent-typed multidimentional arrays #2040
Comments
What's the issue here with Idris? If this is something you'd like to see implemented, it might be better suggested on the mailing list. |
Related (QUBE language) to what ? |
To the subject.
Yes, I probably should suggest it there (just used to suggest features on Github).
Well, I can't find even one-dimension arrays. Also Matrix is represented now as |
I'd suggest asking on the mailing list if anyone has done anything like this, or if anyone is interested in helping to make something like this, in that case. There's lots of interesting things can be done in Idris, and we can't do all of them ourselves. If there are features or libraries which can reasonably considered core, that's a different matter, but I think requesting an entirely new library is out of the scope of what we're trying to track on the issue tracker here. |
Сухарик notifications@github.com wrote:
I see, thanks ! Multidimensional arrays are an interesting subject and http://acts.nersc.gov/formertools/pooma/ from the time I was working on PDEs but there are certainly more recent Maybe finite functions (functions taking values in |Fin m|, |(Fin m, Fin Best, |
I'm actually more interested in declarative array programming. Such languages as APL or J provide expressive and generalized operations on arrays, so programs can be short, clear and without any [explicit] loops. QUBE seems to provide it with gen-with (array creation) and loop-with (folding) constructions and pattern matching on dependent types. |
I am working on a similar solution for compiling array expressions efficiently using ideas from APL, but in Python. If anyone has any links to the Qube language implementation or Idris implementations of similar work, they would be much appreciated. |
Related (QUBE language):
The text was updated successfully, but these errors were encountered: