this is for holding javascript data
Brandon Holt add counter example (pretty dumb, actually)
over 9 years ago
Commit id: ec95696f5bc3c62c165fef51263bc6f51b0dbdde
deletions | additions
diff --git a/Implementation.md b/Implementation.md
index cdccd56..7eac797 100644
--- a/Implementation.md
+++ b/Implementation.md
...
- using the notion of futures (returned by atomic ops) may make this easier to think about.
- can allow futures to be *chained* into multi-hop transactions
- individual futures can be *combined* locally into more compact multi-futures
### Example: Counter (not to be confused with *counterexample*)
- Usage:
- "Likes" on social network pages
- Operations:
- `read: => T`
- `write: => void`
- `incr: => void`
- `fetch_add: => T` (??)
- Transactions
- display: `read`
- like: `incr >> read` (or `fetch_add`)
- new: `write`