Skip to content

Commit bee6caf

Browse files
authored
Merge pull request #1 from lf-lang/refine
Refine the tutorial materials.
2 parents a3c7edf + 8d695c2 commit bee6caf

9 files changed

Lines changed: 3 additions & 105 deletions

01-actor-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ That's what we explore next.
112112

113113
2. What would happen if TCP delivery were *not* guaranteed? How would the ACID 2.0 / CRDT properties need to change?
114114

115-
3. Why does the CAL theorem (Consistency as Logical Monotonicity) apply here? What is the partial order?
115+
3. Why does the CAL theorem (Consistency vs. Availability under Latency constraints) apply here? What is the partial order? [[More Reading]](https://arxiv.org/abs/2301.08906)
116116

117117
---
118118

02-inconsistency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ reactor InconsistentGridManager {
4444

4545
Here is what our system looks like:
4646

47-
![DistributedPowerGrid2 Inonsistency](fig/DistributedPowerGrid2_Inonsistency.svg)
47+
![DistibutedPowerGrid2_Inconsistency](fig/DistibutedPowerGrid2_Inconsistency.svg)
4848

4949

5050
---

sol/01-actor-model-ex-sol.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

sol/02-inconsistency-ex-sol.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

sol/03-timestamps-ex-sol.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

sol/04-conservative-ex-sol.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

sol/05-hybrid-ex-sol.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

sol/06-cal-theorem-ex-sol.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/DistibutedPowerGrid1_Actor.lf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Because the operation is commutative (addition), both managers will eventually agree on the same
77
* balance regardless of message ordering — eventual consistency via CRDT properties.
88
*
9-
* This is the "safe" design: no business logic that enforces limits. See Step 2 for what happens
9+
* This is the "baseline" design: no business logic that enforces limits. See Step 2 for what happens
1010
* when we add real-world constraints.
1111
*/
1212
target C {

0 commit comments

Comments
 (0)