2q: Molds and Mold-Builders
$axis
$axisTree address.
A Nock axis inside a $noun. After the leading 1, in binary, a 1 signfies right and 0 left.
Source
+$ axis @Examples
> =axis `axis`7
> axis
7
> `@ub`axis
0b111
> =noun [[4 5] [6 14 15]]
> .*(noun [0 axis])
[14 15]$bean
$beanBoolean.
0, &, or %.y are true, and 1, |, and %.n are false.
Note 1 is false and 0 is true. This is sometimes referred to as "loobean".
Source
Examples
$flag
$flagBoolean.
Same as $bean.
Source
$char
$charCharacter.
A single @t character.
Source
Examples
$cord
$cordUTF-8 text.
One of Hoon's two string types (the other being $tape). A cord is an $atom of UTF-8 text.
Source
Examples
Discussion
Aura @t designates a Unicode $atom, little-endian: the first character in the text is the least-significant byte.
+trip converts from $cord to $tape, and +crip converts from $tape to $cord.
$byts
$bytsBytes, least-significant first.
An $atom .dat with its byte-length specified in .wid. This is to handle leading zeros that are typically ignored.
Source
Examples
$date
$dateParsed date.
A boolean designating AD or BC, a year $atom, a month $atom, and a $tarp, which is a day $atom and a time.
Source
Examples
Discussion
$knot
$knotURL-safe path element text.
An $atom type that only permits lower-case letters, numbers, and four special characters: hyphen, tilde, underscore and period.
Source
Examples
$noun
$nounAny $noun.
Source
Examples
$path
$pathLike a Unix path.
A path is a list of $knot.
Source
Examples
$stud
$studStandard name.
Source
$tang
$tangBottom-first error.
A list of $tanks. It's for printing types and bottom-up printing of stack traces.
Source
Examples
$tank
$tankFormatted print tree.
A $tank is one of four cases:
Just a
$cord.%leafis just a$tape.%palmis a list of$tankdelimited by the strings in.p, with back-steps at new lines.%roseis a list of$tankdelimited by the strings in.pwithout back-steps at new lines.
Source
Examples
$tape
$tapeList of characters.
One of Hoon's two string types, the other being +cord. A tape is a list of @tD.
Source
Examples
$tour
$tourUTF-32 clusters.
A $tour is a list of UTF-32 characters.
Source
Examples
$tarp
$tarpParsed time.
The time component of a $date: day, hour, minute, second and a list of @ux for precision.
Source
Examples
$term
$termHoon constant.
A restricted text $atom for Hoon constants. The only characters permitted are lowercase ASCII letters, -, and 0-9, the latter two of which cannot be the first character. The syntax for @tas is the text itself, always preceded by %. The empty @tas has a special syntax, $.
Source
Examples
$wain
$wainList of strings.
A list of $cords. A $wain is used instead of a single $cord with \n.
Source
Examples
$wall
$wallList of list of characters.
A list of $tapes. +wall is used instead of a single $tape with \n.
Source
Examples
Last updated