mirror of
https://github.com/urbit/shrub.git
synced 2024-12-16 06:51:14 +03:00
40 lines
615 B
Markdown
40 lines
615 B
Markdown
[bucpam `$&` %bcpm](#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
|
|
--------
|