Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal For Variable System Overhaul #46
Right now there are quite a few different types of variables (arithmetic variables, lists, subroutines, carriers...) and they don't play well together. I've talked it over with Berkin and here's what we came up with:
Thoughts? We'll probably fold the other variable systems into this one once it works and works well.
New list functions:
To use a list as a block, return it from an expression:
While blocks and lists can both represent sets of data, they are fundamentally different in what they do:
The fact that lists can be used as blocks does not mean they are the same thing - it is simply a useful result of their shared characteristics, as well as a convenient way to create and represent blocks from within expressions.