Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ correctly under the paper's rules.
## Quick tour

```fsharp
open Dbsp.Core
open Zeta.Core
Comment thread
AceHack marked this conversation as resolved.

let circuit = Circuit.create ()
let orders = circuit.ZSetInput<string * int64> ()
Comment thread
AceHack marked this conversation as resolved.
Expand All @@ -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
Comment on lines 92 to +113
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: The PR title/description claims the change is just 2 snippet lines in README.md, but this hunk also restructures the F# snippet to wrap it in an async { ... } block and the PR also edits multiple openspec/** files. Please update the PR title/description (and/or verification section) to reflect the full set of touched docs so reviewers don’t miss scope.

Copilot uses AI. Check for mistakes.
```

And the same thing, C#-side:

```csharp
using Dbsp.Core;
using Zeta.Core;

var circuit = new Circuit();
var orders = circuit.ZSetInput<(string, long)>();
Expand Down
2 changes: 1 addition & 1 deletion openspec/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OpenSpec in Dbsp.Core
# OpenSpec in Zeta.Core

OpenSpec is the source of truth for this project.

Expand Down
2 changes: 1 addition & 1 deletion openspec/specs/durability-modes/profiles/fsharp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading