on bc35467 help sign in
urbit.org/docs/reference/cheat-sheet.udon
39 lines 1.1 kB history raw
1:- :~ navhome/'/docs/'
2 sort/'8'
3 title/'Cheat sheet'
4 ==
5;>
7# Hoon cheat sheet
9##### `~rovnys-ricfer`
11_Original Fora post_ [here](https://urbit.org/fora/posts/~2017.9.18..22.31.06..24d5~).
13;br;
15[Download .pdf](https://storage.googleapis.com/media.urbit.org/docs/hoon-cheat-sheet--2017-12-12.pdf)
17;br;
19We've found it's useful to have a quick reference of Hoon's syntax always at
20hand. So above is a download link to a Hoon cheatsheet .pdf. It's missing a
21few of the literal syntaxes, but it covers the most common ones.
23This doesn't list any of the Ford runes, although there is now at least
24some documentation for those [here](../../tutorials/internals/ford/runes).
26The following runes also exist, but are currently undocumented and not listed in
27the cheat sheet:
29```
30!: :: turn on debugging printfs
31!. :: turn off debugging printfs
32!; :: using the "type of type", emit the type for an expression
33!, :: emit AST of expression
34$* :: bunt (irregular form is *)
35^. :: use gate to transform type
36^& :: zinc (covariant) -- see the docs on advanced types
37```
39Hope this helps!