urbit/base/pub/doc/hoon/runes/sg/sgfs.md
2015-04-29 18:48:45 -04:00

45 lines
722 B
Markdown

[sigfas, `~/`, %sgfs](#sgfs)
============================
Book arm jet
`~/` is a synthetic rune that implements one common case - a gate arm in
a book, i.e. a library function - of the [`~%`]() jet hint. `~/` assumes
the parent axis is `7` and there are no children.
Produces
--------
Twig: `[%sgfs p=term q=twig]`
Sample
------
`p` is a [term](). `q` is a [twig]().
Tall form
---------
~/ p
q
Wide form
---------
~/(p q)
Irregular form
--------------
None
Examples
--------
~zod/try=> (make '~/ %bam |.(40)')
[%8 p=[%1 p=[1 40]] q=[%10 p=[p=1.953.718.630 q=[%1 p=[7.168.354 [0 7] 0]]] q=[%0 p=1]]]
~zod/try=> `@`%bam
7.168.354
~zod/try=> `@tas`1.953.718.630
%fast