Browse Source

Update clarity-reference.json

The 'let' function Input description currently is:
Input: ((name2 AnyType) (name2 AnyType) ...), AnyType, ... A
should be:
Input: ((name1 AnyType) (name2 AnyType) ...), AnyType, ... A
docs/add-vscode-ext-links
Rickey 4 years ago
committed by Patrick Gray
parent
commit
a0f7ef1528
  1. 2
      src/_data/clarity-reference.json

2
src/_data/clarity-reference.json

@ -162,7 +162,7 @@
},
{
"name": "let",
"input_type": "((name2 AnyType) (name2 AnyType) ...), AnyType, ... A",
"input_type": "((name1 AnyType) (name2 AnyType) ...), AnyType, ... A",
"output_type": "A",
"signature": "(let ((name1 expr1) (name2 expr2) ...) expr-body1 expr-body2 ... expr-body-last)",
"description": "The `let` function accepts a list of `variable name` and `expression` pairs,\nevaluating each expression and _binding_ it to the corresponding variable name.\n`let` bindings are sequential: when a `let` binding is evaluated, it may refer to prior binding.\nThe _context_ created by this set of bindings is used for evaluating its body expressions.\n The let expression returns the value of the last such body expression.\nNote: intermediary statements returning a response type must be checked",

Loading…
Cancel
Save