about summary refs log tree commit diff stats
path: root/sandbox
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-13 14:32:21 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-13 14:36:18 -0800
commite36e7caffa6194135895844aae9df93d1af4b9f9 (patch)
tree9ed97c9ac3190034b8361c0937c4ba064eef4573 /sandbox
parentc4f5d4cf0b6f0d33994aac9d5fa29da1a46f7831 (diff)
downloadmu-e36e7caffa6194135895844aae9df93d1af4b9f9.tar.gz
2432 - first stab at making ingredients immutable
The rule is, an address ingredient is only modifiable if:
  a) it's also a product
  b) it's /contained-in some other ingredient+product

Only if an ingredient is a modifiable can you:
  a) call get-address or index-address on it (the only way to write to it)
  b) call other recipes that also return it in a product

I still don't check copies of the address. That's next.

Core mu passes this check, but none of the example apps do. edit/ and
sandbox/ are known to fail.
Diffstat (limited to 'sandbox')
0 files changed, 0 insertions, 0 deletions