urbit/pub/doc/hoon/runes/ts.md
2015-06-19 17:16:48 -04:00

49 lines
1.1 KiB
Markdown

<div class="short">
`tis = %tis`
============
Subject modification
--------------------
The `=` runes modify the subject. They are used whenever you want to
push something on the subject, modify the subject, or use the results of
one formula in another.
There are three basic categories of `=` runes.
</div>
### Replace the subject
[`=>`]() The natural `=` rune. Uses the product of `p` as the subject
for the formula `q`.
[`=<`]() Inverse of `=>`. Uses the product of `q` as the subject for the
formula `a`. Used to make code more readable by making it flow vertically.
<hr></hr>
#### Expand the subject
[`=+`]() Nock 8. Pushes data and code `p` on the subject for the formula
`q`.
[`=-`]() Inverse of `=+`. Pushes data and code `q` on the subject
for the formula `q`.
[`=|`]() Pushes the bunt of a tile `p` on the subject for the formula `q`.
[`=*`]() Pushes on an alias onto the subject.
<hr></hr>
#### Alter the subject
[`=.`]() Modifies the subject with a single change.
[`=:`]() Modifies the subject with a multiple changes.
<hr></hr>
<kids></kids>