aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/046-commit-replica/entries-price.aup
blob: 450b2bb94ac5b8a1188e4f7295d1186d0c65b9ad (plain)
1
2
3
4
5
6
7
8
9
10
11
record Entry {
  n = 0
}
state entries: list of Entry
state count = 0
input add = message { n: number }
on add {
  entries.append(Entry { n: add.n })
  count = count + 1
}
view total = count