mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 21:03:10 +03:00
41 lines
651 B
Markdown
41 lines
651 B
Markdown
|
[cenhep, `%-`, %cnhp](#cnhp)
|
||
|
============================
|
||
|
|
||
|
Slam, n-arguments
|
||
|
|
||
|
`%-` is a synthetic rune that that [pull]()s [`$`]() from the [door]()
|
||
|
`p` with its sample set to `[%cltr q]`. `%-` in the most common case
|
||
|
simply [slam]()s `p` with the list of arguments in `q`. `%-` is similar
|
||
|
to a function call, and is most familiar in its irregular form `(p q)`.
|
||
|
|
||
|
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
|
||
|
--------
|