|- bar·hep

SyntaxSummary
|-  hoonProduce a trap (a core with one arm $) and evaluate it.

Produces a trap, a simple core like a gate, except not taking a sample.

|- is often used as a “recursion point” within another arm.  First, set up any counters/faces which will be updated during recursion, then create our |- trap.  This way, when we recurse back, we will not reset those counter values.

  • |- takes one child:
    • Some hoon expression to evaluate.
Documentation on urbit.org