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

Document multicontainers #140

Closed
Lartu opened this issue Aug 19, 2019 · 2 comments
Closed

Document multicontainers #140

Lartu opened this issue Aug 19, 2019 · 2 comments
Labels
documentation Someone is needed in the docs! required for next release
Milestone

Comments

@Lartu
Copy link
Owner

Lartu commented Aug 19, 2019

There's a big issue with LDPL right now: we cannot have lists of lists, nor maps of lists nor lists of maps nor any compound type. If we had that, the language would be way more useful and a lot bunch more interesting libraries could be coded for it (and thus, used more in real-world scenarios).

I imagine the syntax would be something like:

compoundFoo is number list map

meaning that compoundFoo is a map<list>, and so we could access its members like

compoundFoo:"someKey":4 #container:key:index

@Lartu Lartu added enhancement Make a feature we already have better help wanted Extra attention is needed labels Aug 19, 2019
@dgarroDC
Copy link
Collaborator

I agree that LDPL needs this, but there's a problem of ambiguity in the accessing syntax with what we already have, A:B:C could be like A[B[C]] (LDPL current syntax) or like (A[B])[C].

@Lartu
Copy link
Owner Author

Lartu commented Aug 20, 2019

Added in 75f7f70. Documentation still due.

@Lartu Lartu changed the title Compound types Document multicontainers Aug 20, 2019
@Lartu Lartu added documentation Someone is needed in the docs! and removed enhancement Make a feature we already have better help wanted Extra attention is needed labels Aug 20, 2019
@Lartu Lartu added this to the LDPL 4.2 milestone Sep 8, 2019
@Lartu Lartu closed this as completed Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Someone is needed in the docs! required for next release
Projects
None yet
Development

No branches or pull requests

2 participants