1
0
mirror of https://github.com/ilyakooo0/urbit.git synced 2024-12-29 01:44:08 +03:00
urbit/pub/docs/dev/hoon/runes/kt.md
Galen Wolfe-Pauly bb495844be doc -> docs
2015-10-20 10:51:45 -07:00

726 B

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.

Cast values to specific types

^- Casts q to the type of the bunt of p.

^+ Casts q to the type of p.


Change the variance of cores

^| Converts core from %gold to %iron.

^& Converts core from %gold to %zinc.

^? Converts core from %gold to %lead.


Those that add a variable name

^= Changes the type of a value by adding a ++face.