urbit/pub/docs/dev/hoon/runes/sm.md
Galen Wolfe-Pauly bb495844be doc -> docs
2015-10-20 10:51:45 -07:00

825 B

sem ; %sem

Composition

The ; runes are used for composition. They are all synthetic.

There are three categories of ; runes.

Gate composers

;: Applies a binary gate to multiple arguments.

;~ Uses a monad to compose multiple gates, producing a gate of a similar type.

;; Composes a clam with a value, slamming the value through the clam and forcefully verifying that it is unchanged. See also: ++hard.


Interpolators

;" Composes ++tapes and twigs that produce ++tapes. Generally used in its irregular form, of (text surrounded by double quotes).


[++sail] runes:

;-, ;+, ;*, ;%, and %cnzy all compose a tree structure. See also: ++sail.