Skip to content

Commit 2f08f69

Browse files
authored
Merge pull request #2754 from pgray-hiro/fix/clarity-lang-typos
fix: typos in Clarity docs
2 parents fe8d3b2 + ff44327 commit 2f08f69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vm/docs/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const AND_API: SimpleFunctionAPI = SimpleFunctionAPI {
266266
const OR_API: SimpleFunctionAPI = SimpleFunctionAPI {
267267
name: None,
268268
signature: "(or b1 b2 ...)",
269-
description: "Returns `true` if any boolean inputs are `true`. Importantly, the supplied arguments are evaluated in-order and lazily. Lazy evaluation means that if one of the arguments returns `false`, the function short-circuits, and no subsequent arguments are evaluated.",
269+
description: "Returns `true` if any boolean inputs are `true`. Importantly, the supplied arguments are evaluated in-order and lazily. Lazy evaluation means that if one of the arguments returns `true`, the function short-circuits, and no subsequent arguments are evaluated.",
270270
example: "(or true false) ;; Returns true
271271
(or (is-eq (+ 1 2) 1) (is-eq 4 4)) ;; Returns true
272272
(or (is-eq (+ 1 2) 1) (is-eq 3 4)) ;; Returns false
@@ -426,7 +426,7 @@ which must return the same type. In the case that the boolean input is `true`, t
426426
};
427427

428428
const LET_API: SpecialAPI = SpecialAPI {
429-
input_type: "((name2 AnyType) (name2 AnyType) ...), AnyType, ... A",
429+
input_type: "((name1 AnyType) (name2 AnyType) ...), AnyType, ... A",
430430
output_type: "A",
431431
signature: "(let ((name1 expr1) (name2 expr2) ...) expr-body1 expr-body2 ... expr-body-last)",
432432
description: "The `let` function accepts a list of `variable name` and `expression` pairs,

0 commit comments

Comments
 (0)