Replies: 6 comments 17 replies
-
This looks great. I think there are a ton of useful actions that can make lists awesome! Useful sub-actions could be, but not limited to:
as well as some way to check the type of a list? A lot of these sub-actions only makes sense if the list is ordered though (I assumed it is) 😄 |
Beta Was this translation helpful? Give feedback.
-
I agree, this looks really good. Without knowing exactly how this would map to the current structure and if it's sorted or not. It would be really nice to be able to do something like
|
Beta Was this translation helpful? Give feedback.
-
One of my other questions surrounding lists is: Do we allow deleting lists through the standard |
Beta Was this translation helpful? Give feedback.
-
As discussed on our chat channels, we'd want to see the proposals for the |
Beta Was this translation helpful? Give feedback.
-
After a lot of thinking I'm not convinced having a So instead of doing:
We could have a unified way of indicating for the server which
As you can see this means that |
Beta Was this translation helpful? Give feedback.
-
I completely forgot about this. @martinmolin haha, you'll remember this one ;) |
Beta Was this translation helpful? Give feedback.
-
Background
With 0.7.0, we introduced the Keymap data model which in turn introduced two new data types:
str
: An Unicode stringbinstr
: A binary stringAs we hinted earlier in our Roadmap (#203), we will be working on new data models and types. The type that we will be implementing next is the
list
type, similar to what most programming languages call an "Array" or "List". However, the list size, for obvious reasons is not fixed and you can virtually add an unlimited number of items to this list (as long as your disk and memory can hold them). Finally, our storage engine was designed with future scalability in mind and hence can easily support more data types.Discussion
The goal of this discussion is determine how exactly we want this type to behave and what new actions we will add so that users can effectively use this type. As of now, this is our proposed design:
LIST PUSH <list> <element>
LIST POP <list>
I look forward to your inputs
Beta Was this translation helpful? Give feedback.
All reactions