Data in Angle is map based.
The fundamental data type in Angle is a map.
Just like how in lisp everything is a list, in angle everything is a map.
Or internally: a node with internal kind, parent, children and values.
Peter{address="Home 1"}
is internally represented as
Node{ name="Peter" children={ Node{ name="address " value=Node{ name="Home 1" type=string } } }
{a:b c:d} => a(value:b next:c) {a{b c} d:e} => a(children:[b c] next:d)
{a:b c:d} => a(value:b next:c)
{a{b c} d:e} => a(children:[b c] next:d)
Question: can children&value be merged? Not if we allow referenceIndices as keys: [use:{a:b} reuse:{a:c}] The reference problem is orthogonal!
[use:{a:b} reuse:{a:c}]
There was an error while loading. Please reload this page.
Home
Philosophy •
data & code blocks
features
inventions
evaluation
keywords
standard library
iteration
tasks
examples
todo : bad ideas and open questions
⚠️ specification and progress are out of sync