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

44 lines
647 B
Markdown

[sigbuc, `~$`, %sgbc](#sgbc)
============================
Label for profiling
`~$`, `sigbuc`, `[%sgbc p=term q=twig]` is a synthetic rune that labels
computation `q` as `p` for profiling.
Produces
--------
Twig: `[%sgbc 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 '~$(foo |-($))')
[%10 p=[p=1.702.259.052 q=[%1 p=7.303.014]] q=[%8 p=[%1 p=[9 2 0 1]] q=[%9 p=2 q=[%0 p=1]]]]
~zod/try=> `@tas`1.702.259.052
%live
~zod/try=> `@tas`7.303.014
%foo