Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 0a55a3c

Browse files
committed
Small improvements to the Hrana spec
1 parent d3addd1 commit 0a55a3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/HRANA_SPEC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ type BatchResult = {
381381
}
382382
```
383383
384-
A batch is a list of statements (steps) which are always executed sequentially.
384+
A batch is a list of steps (statements) which are always executed sequentially.
385385
If the `condition` of a step is present and evaluates to false, the statement is
386386
skipped.
387387
@@ -403,10 +403,10 @@ type BatchCond =
403403
404404
Conditions are expressions that evaluate to true or false:
405405
406-
- `ok` evaluates to true if the `step` (referenced by a 0-based index) was
406+
- `ok` evaluates to true if the `step` (referenced by its 0-based index) was
407407
executed successfully. If the statement was skipped, this condition evaluates to
408408
false.
409-
- `error` evaluates to true if the `step` (referenced by a 0-based index) has
409+
- `error` evaluates to true if the `step` (referenced by its 0-based index) has
410410
produced an error. If the statement was skipped, this condition evaluates to
411411
false.
412412
- `not` evaluates `cond` and returns the logical negative.

0 commit comments

Comments
 (0)