Brian Ingerson wrote:
Speaking of persistence, I just realized I'll need to start thinking about YAML serializations of superpositions. My first cut at it would be:--- letters: !super [0, 1, 2] digits: !super - 0 - 1 - 2 ...
Not quite. You also need to discriminate the *type* of the superposition:
letters: !any [0, 1, 2]
digits: !all
- 0
- 1
- 2
names: !one ["Brian", "Ingy", "Mr Inline"]
sane: !none
- "Larry"
- "Damian"
- "Brian"
...
Damian
