urbit/pub/docs/dev/hoon/runes/cn/cnhp.md
Galen Wolfe-Pauly bb495844be doc -> docs
2015-10-20 10:51:45 -07:00

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
--------