mirror of
https://github.com/urbit/shrub.git
synced 2024-12-15 21:03:10 +03:00
691 B
691 B
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)