shrub/pub/doc/hoon/runes/cn/cnhp.md

41 lines
651 B
Markdown
Raw Normal View History

2015-02-18 06:03:21 +03:00
[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
--------