Skip to content

Commit

Permalink
Improve SETCONTARGS_N doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Feb 11, 2024
1 parent faaebf7 commit 433c666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cp0.json
Original file line number Diff line number Diff line change
Expand Up @@ -25460,7 +25460,7 @@
"mnemonic": "SETCONTARGS_N",
"doc": {
"category": "cont_stack",
"description": "Similar to `[r] -1 SETCONTARGS`, but sets `c.nargs` to the final size of the stack of `c'` plus `n`. In other words, transforms `c` into a _closure_ or a _partially applied function_, with `0 <= n <= 14` arguments missing.",
"description": "Pushes `0 <= r <= 15` values `x_1...x_r` into the stack of (a copy of) the continuation `c`, starting with `x_1`. When `n` is 15 (-1 in Fift notation), does nothing with `c.nargs`. For `0 <= n <= 14`, sets `c.nargs` to the final size of the stack of `c'` plus `n`. In other words, transforms `c` into a _closure_ or a _partially applied function_, with `0 <= n <= 14` arguments missing.",
"gas": "26+s\u0432\u0402\u045c",
"fift": "[r] [n] SETCONTARGS"
},
Expand Down

0 comments on commit 433c666

Please sign in to comment.