urbit/pub/docs/dev/hoon/runes/bc/bcpm.md
Galen Wolfe-Pauly bb495844be doc -> docs
2015-10-20 10:51:45 -07:00

606 B

bucpam $& %bcpm

Pair / tag

$& is a tile rune that produces a %bush. A %bush is a tile whose icon is a fork between two different kinds of nouns: cells whose head is a cell and cells whose head is an atom (tile q). Its default value is the value of q. One important use of $& is to implement autocons in ++twig and ++tile.

Produces

Tile: [%bush p=tile q=tile]

Sample

p is a tile.

Tall form

$&  p
    q

Wide form

$&(p q)

Irregular form

None

Examples