- types:
- a set of
Files - a set of
Colors
- a set of
- concepts:
- one
Trash[File]namedT - one
Label[File,Color]namedL
- one
- views:
colors=L.labels
- invariants:
- Only
accessiblefiles can be labeled with colors.
- Only
- reactions:
reaction delete_clear
when
T.delete[f]
where
some f.colors
then
L.clear[f]
reaction affix_error
when
L.affix[f,c]
where
f not in T.accessible
then
error