diff --git a/README.md b/README.md index 3355203b..1d432aca 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ correctly under the paper's rules. ## Quick tour ```fsharp -open Dbsp.Core +open Zeta.Core let circuit = Circuit.create () let orders = circuit.ZSetInput () @@ -103,17 +103,20 @@ let totals = let view = circuit.Output(circuit.IntegrateZSet totals) -orders.Send(ZSet.ofKeys [ "alice", 100L ; "bob", 50L ]) -do! circuit.StepAsync () +async { + orders.Send(ZSet.ofKeys [ "alice", 100L ; "bob", 50L ]) + do! circuit.StepAsync () |> Async.AwaitTask -for e in view.Current do - printfn "%A -> weight %d" e.Key e.Weight + for e in view.Current do + printfn "%A -> weight %d" e.Key e.Weight +} +|> Async.RunSynchronously ``` And the same thing, C#-side: ```csharp -using Dbsp.Core; +using Zeta.Core; var circuit = new Circuit(); var orders = circuit.ZSetInput<(string, long)>(); diff --git a/openspec/README.md b/openspec/README.md index 0c64b6ea..817b7c01 100644 --- a/openspec/README.md +++ b/openspec/README.md @@ -1,4 +1,4 @@ -# OpenSpec in Dbsp.Core +# OpenSpec in Zeta.Core OpenSpec is the source of truth for this project. diff --git a/openspec/specs/durability-modes/profiles/fsharp.md b/openspec/specs/durability-modes/profiles/fsharp.md index 7844b37b..208690a0 100644 --- a/openspec/specs/durability-modes/profiles/fsharp.md +++ b/openspec/specs/durability-modes/profiles/fsharp.md @@ -5,7 +5,7 @@ today. Prose bullets, no RFC-2119; those live in the base `spec.md`. ## Namespace and source files -- Types and the factory live in the `Dbsp.Core` namespace, across: +- Types and the factory live in the `Zeta.Core` namespace, across: - `src/Core/Durability.fs` — the `DurabilityMode` discriminated union, the `WitnessDurableBackingStore` skeleton, the `DurabilityMode` module with `createBackingStore` and `recoveryProperty`. diff --git a/openspec/specs/retraction-safe-recursion/profiles/fsharp.md b/openspec/specs/retraction-safe-recursion/profiles/fsharp.md index 9fef4ae2..6f163887 100644 --- a/openspec/specs/retraction-safe-recursion/profiles/fsharp.md +++ b/openspec/specs/retraction-safe-recursion/profiles/fsharp.md @@ -6,7 +6,7 @@ realised in F# today. Prose bullets, no RFC-2119; those live in the base ## Namespace and source files -- Types and extension methods live in the `Dbsp.Core` namespace, assembled +- Types and extension methods live in the `Zeta.Core` namespace, assembled from: - `src/Core/Recursive.fs` — feedback cells, the three recursive combinators, and the fixed-point iteration driver.