mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 13:51:50 +03:00
40 lines
726 B
Markdown
40 lines
726 B
Markdown
|
<div class="short">
|
||
|
|
||
|
`ket ^ %ket`
|
||
|
============
|
||
|
|
||
|
Type operations
|
||
|
---------------
|
||
|
|
||
|
The `^` runes perform type operations. With the exception of `^-` and
|
||
|
`^.`, they are all natural runes.
|
||
|
|
||
|
There are three basic categories of `^` runes.
|
||
|
|
||
|
</div>
|
||
|
|
||
|
#### Cast values to specific types
|
||
|
|
||
|
[`^-`]() Casts `q` to the type of the [bunt]() of `p`.
|
||
|
|
||
|
[`^+`]() Casts `q` to the type of `p`.
|
||
|
|
||
|
<hr></hr>
|
||
|
|
||
|
#### Change the [variance]() of [cores]()
|
||
|
|
||
|
[`^|`]() Converts core from [%gold]() to [%iron]().
|
||
|
|
||
|
[`^&`]() Converts core from [%gold]() to [%zinc]().
|
||
|
|
||
|
[`^?`]() Converts core from [%gold]() to [%lead]().
|
||
|
|
||
|
<hr></hr>
|
||
|
|
||
|
#### Those that add a variable name
|
||
|
|
||
|
[`^=`]() Changes the type of a value by adding a [`++face`]().
|
||
|
|
||
|
<hr></hr>
|
||
|
|
||
|
<kids></kids>
|