shrub/pub/doc/hoon/runes/bc/bcpm.md
2015-06-19 17:16:48 -04:00

615 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