mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 22:31:30 +03:00
37 lines
452 B
Markdown
37 lines
452 B
Markdown
|
[sigbar, `~|`, %sgbr](#sgbr)
|
||
|
============================
|
||
|
|
||
|
Add to stacktrace
|
||
|
|
||
|
`~|` is a synthetic hoon that presents the product of `p` in the stack
|
||
|
trace if `q` crashes. The computation is only performed if needed.
|
||
|
|
||
|
Produces
|
||
|
--------
|
||
|
|
||
|
Twig: `[%sgbr p=twig q=twig]`
|
||
|
|
||
|
Sample
|
||
|
------
|
||
|
|
||
|
`p` is a [twig](). `q` is a [twig]().
|
||
|
|
||
|
Tall form
|
||
|
---------
|
||
|
|
||
|
~| p
|
||
|
q
|
||
|
|
||
|
Wide form
|
||
|
---------
|
||
|
|
||
|
~|(p q)
|
||
|
|
||
|
Irregular form
|
||
|
--------------
|
||
|
|
||
|
None
|
||
|
|
||
|
Examples
|
||
|
--------
|