mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-30 02:12:22 +03:00
40 lines
682 B
Markdown
40 lines
682 B
Markdown
cenhep, `%-`, %cnhp
|
|
============================
|
|
|
|
Slam, n-arguments
|
|
|
|
Slam, 1 (or n) argument(s)
|
|
|
|
%- is a synthetic rune that that pulls $ from the door p with its sample set to [%cltr q]. %- in both its tall and wide forms is like a function call with one argument. However, %-is most commonly used in its irregular form, where p and q are enclosed within () where q is a list of n arguments.
|
|
|
|
Produces
|
|
--------
|
|
|
|
Twig: `[%cnhp p=twig q=tusk]`
|
|
|
|
Sample
|
|
------
|
|
|
|
`p` is a [twig](), most commonly a [gate]() `q` is a [tusk](), a list of
|
|
twigs
|
|
|
|
Tall form
|
|
---------
|
|
|
|
%- p
|
|
q
|
|
==
|
|
|
|
Wide form
|
|
---------
|
|
|
|
%-(p q)
|
|
|
|
Irregular form
|
|
--------------
|
|
|
|
(p q)
|
|
|
|
Examples
|
|
--------
|