Browse Source

auto: update Clarity references JSONs from stacks-blockchain@f0df206ebe293560e76846cd8a548510d60e4d74

build/deps-updates
PR Robot 4 years ago
committed by Alexander Graebe
parent
commit
63e5a36db4
  1. 6
      src/_data/clarity-reference.json

6
src/_data/clarity-reference.json

@ -268,9 +268,9 @@
"name": "tuple",
"input_type": "(key-name A), (key-name-2 B), ...",
"output_type": "(tuple (key-name A) (key-name-2 B) ...)",
"signature": "(tuple ((key0 expr0) (key1 expr1) ...))",
"description": "The `tuple` function constructs a typed tuple from the supplied key and expression pairs.\nA `get` function can use typed tuples as input to select specific values from a given tuple.\nKey names may not appear multiple times in the same tuple definition. Supplied expressions are evaluated and\nassociated with the expressions' paired key name.",
"example": "(tuple (name \"blockstack\") (id 1337))"
"signature": "(tuple (key0 expr0) (key1 expr1) ...)",
"description": "The `tuple` special form constructs a typed tuple from the supplied key and expression pairs.\nA `get` function can use typed tuples as input to select specific values from a given tuple.\nKey names may not appear multiple times in the same tuple definition. Supplied expressions are evaluated and\nassociated with the expressions' paired key name.\n\nThere is a shorthand using curly brackets of the form {key0: expr0, key1: expr, ...}",
"example": "(tuple (name \"blockstack\") (id 1337)) ;; using tuple\n {name: \"blockstack\", id: 1337} ;; using curly brackets"
},
{
"name": "get",

Loading…
Cancel
Save