Skip to content

Commit 17f97f8

Browse files
committed
Now unit is consistently written () in jets reference
1 parent ccfdb31 commit 17f97f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/documentation/jets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Jet calls are currently used in SimplicityHL to perform many operations, such as
99

1010
* For example, in SimplicityHL, you check whether two integers are equal with a call to a jet such as `jet::eq_32`.
1111

12-
Some jets allow a Simplicity program to refuse a proposed transaction by performing a mandatory assertion (these jets' return type is `unit` below). The "panic" or failure effect produced by these jets is the *only* way to decline a transaction, so every program will need to call one or more of these jets directly or indirectly.
12+
Some jets allow a Simplicity program to refuse a proposed transaction by performing a mandatory assertion (these jets' return type is `()` below). The "panic" or failure effect produced by these jets is the *only* way to decline a transaction, so every program will need to call one or more of these jets directly or indirectly.
1313

1414
* For example, `jet::bip_0340_verify` checks a digital signature and refuses the transaction if the signature cannot be verified.
1515

@@ -597,4 +597,4 @@ The list of jets is fixed when Simplicity is integrated with a specific blockcha
597597

598598
Calling jets, where available, makes your Simplicity program smaller and faster.
599599

600-
A few jets <a href="https://delvingbitcoin.org/t/delving-simplicity-part-two-side-effects/2091">provide behaviors that could not be achieved directly with low-level Simplicity combinators alone</a>, such as transaction introspection. Jets that can fail (those whose return type is `unit`) are the expected and only way for a Simplicity program to disapprove a proposed transaction.
600+
A few jets <a href="https://delvingbitcoin.org/t/delving-simplicity-part-two-side-effects/2091">provide behaviors that could not be achieved directly with low-level Simplicity combinators alone</a>, such as transaction introspection. Jets that can fail (those whose return type is `()`) are the expected and only way for a Simplicity program to disapprove a proposed transaction.

0 commit comments

Comments
 (0)