Urbit
  • Introduction
  • Development

    • Getting Started
    • Environment Setup
    • Grants Program
    • Project Repositories
    • Precepts
    • System Overview

      • Arvo
      • Hoon
      • Nock
      • Vere
      • Azimuth
      • Cryptography
      • Arvo

        • Overview
        • Reference

          • Cryptography
          • Filesystem Hierarchy
          • Ames

            • Overview
            • Cryptography
            • API Reference
            • Behn

              • Overview
              • API Reference
              • Clay

                • Overview
                • Architecture
                • Using Clay
                • Data Types
                • Scry Reference
                • API Reference
                • Examples
                • Dill

                  • Overview
                  • API Reference
                  • Eyre

                    • Overview
                    • External API Reference
                    • Internal API Reference
                    • Scry Reference
                    • Data Types
                    • Examples
                    • Ford

                      • Overview
                      • Gall

                        • Overview
                        • Iris

                          • API Reference
                          • Jael

                            • API Reference
                            • Concepts

                              • Subscriptions
                              • Tutorials

                                • Move Trace
                              • Userspace

                                • Overview
                                • Gall

                                  • Overview
                                  • Tutorial
                                  • API Reference
                                  • Graph Store

                                    • Graph Store Overview
                                    • Data Structure Overview
                                    • Validator Walkthrough
                                    • Advanced Info
                                    • Threads

                                      • Overview
                                      • HTTP API
                                      • Reference
                                      • Basics

                                        • Fundamentals
                                        • Bind
                                        • Input
                                        • Output
                                        • Summary
                                        • Gall

                                          • Start Thread
                                          • Take Result
                                          • Take Facts
                                          • Stop Thread
                                          • Poke Thread
                                          • Examples

                                            • Fetch JSON
                                            • Child Thread
                                            • Main-loop
                                            • Poke Agent
                                            • Scry
                                            • Take Fact
                                          • Landscape

                                            • Overview
                                            • API Reference

                                              • Graph Store
                                          • Hoon

                                            • Overview
                                            • Hoon School

                                              • 1.1 Setup
                                              • 1.1.1 Walkthrough: List of Numbers
                                              • 1.2 Nouns
                                              • 1.3 Hoon Syntax
                                              • 1.3.1 Walkthrough: Conditionals
                                              • 1.4 Gates (Hoon Functions)
                                              • 1.4.1 Walkthrough: Recursion
                                              • 1.5 Lists
                                              • 1.5.1 Walkthrough: Fibonacci Sequence
                                              • 1.6 The Subject and Its Legs
                                              • 1.6.1 Walkthrough: Ackermann Function
                                              • 1.7 Arms and Cores
                                              • 1.7.1 Walkthrough: Caesar Cipher
                                              • 1.8 Doors
                                              • 1.8.1 Bank Account
                                              • 1.9 Generators
                                              • 2.1 Atoms, Auras, and Simple Cell Types
                                              • 2.2 Type Checking and Type Inference
                                              • 2.3 Structures and Complex Types
                                              • 2.3.1 Walkthrough: Libraries
                                              • 2.3.2 Molds
                                              • 2.4 Standard Library: Trees, Sets, and Maps
                                              • 2.5 Type Polymorphism
                                              • 2.5.1 Walkthrough: Iron Polymorphism and Wet Polymorphism
                                              • 2.5.2 Walkthrough: Lead Polymorphism
                                              • 2.6 Behn
                                              • 2.7 Gall
                                              • 2.7.1 Gall Walkthrough: Egg Timer
                                              • Guides

                                                • CLI apps
                                                • Parsing
                                                • Writing Aqua Tests
                                                • Reference

                                                  • Cheat Sheet
                                                  • Irregular forms
                                                  • Hoon Errors
                                                  • Hoon Style Guide
                                                  • Basic Types
                                                  • Advanced Types
                                                  • Auras
                                                  • Runes

                                                    • Atoms and strings
                                                    • Nock . ('dot')
                                                    • Wild ! ('zap')
                                                    • Change Subject = ('tis')
                                                    • Conditionals ? ('wut')
                                                    • Cores | ('bar')
                                                    • Arms + ('lus')
                                                    • Cells : ('col')
                                                    • Calls % ('cen')
                                                    • Casts ^ ('ket')
                                                    • Structures $ ('buc')
                                                    • Make ; ('mic')
                                                    • Hints ~ ('sig')
                                                    • Terminators -- and ==
                                                    • Limbs and wings

                                                      • Limbs
                                                      • Wings
                                                      • Standard library

                                                        • Table of Contents
                                                        • 1a: Basic Arithmetic
                                                        • 1b: Tree Addressing
                                                        • 1c: Molds and Mold-Builders
                                                        • 2a: Unit Logic
                                                        • 2b: List Logic
                                                        • 2c: Bit Arithmetic
                                                        • 2d: Bit Logic
                                                        • 2e: Insecure Hashing
                                                        • 2f: Noun Ordering
                                                        • 2g: Unsigned Powers
                                                        • 2h: Set Logic
                                                        • 2i: Map Logic
                                                        • 2j: Jar and Jug Logic
                                                        • 2k: Queue Logic
                                                        • 2l: Container from Container
                                                        • 2m: Container from Noun
                                                        • 2n: Functional Hacks
                                                        • 2o: Normalizing Containers
                                                        • 2p: Serialization
                                                        • 2q: Molds and Mold-Builders
                                                        • 3a: Modular and Signed Ints
                                                        • 3b: Floating Point
                                                        • 3c: Urbit Time
                                                        • 3d: SHA Hash Family
                                                        • 3e: AES encryption (Removed)
                                                        • 3f: Scrambling
                                                        • 3g: Molds and Mold-Builders
                                                        • 4a: Exotic Bases
                                                        • 4b: Text Processing
                                                        • 4c: Tank Printer
                                                        • 4d: Parsing (Tracing)
                                                        • 4e: Parsing (Combinators)
                                                        • 4f: Parsing (Rule-Builders)
                                                        • 4g: Parsing (Outside Caller)
                                                        • 4h: Parsing (ASCII Glyphs)
                                                        • 4i: Parsing (Useful Idioms)
                                                        • 4j: Parsing (Bases and Base Digits)
                                                        • 4k: Atom Printing
                                                        • 4l: Atom Parsing
                                                        • 4m: Formatting Functions
                                                        • 4n: Virtualization
                                                        • 4o: Molds
                                                        • 5a: Compiler Utilities
                                                        • 5b: Macro Expansion
                                                        • 5c: Compiler Backend & Prettyprinter
                                                        • 5d: Parser
                                                        • 5e: Caching Compiler
                                                        • 5f: Molds and Mold-Builders
                                                        • 5g: profiling support
                                                    • Nock

                                                      • Nock Definition
                                                      • Explanation
                                                      • Example
                                                      • Implementations
                                                      • Vere

                                                        • C Runtime System
                                                        • Land of Nouns
                                                        • API overview by prefix
                                                        • C in Urbit
                                                        • Writing Jets
                                                        • Cryptography
                                                        • Azimuth

                                                          • Overview
                                                          • Life and Rift
                                                          • Advanced Azimuth Tools
                                                          • Glossary

                                                            • Ames
                                                            • Aqua
                                                            • Arm
                                                            • Arvo
                                                            • Atom
                                                            • Azimuth
                                                            • Battery
                                                            • Behn
                                                            • Breach
                                                            • Bridge
                                                            • Censures
                                                            • Ceremony
                                                            • chat
                                                            • Claims
                                                            • Clay
                                                            • Comet
                                                            • Core
                                                            • Delegated Sending
                                                            • Desk
                                                            • Dill
                                                            • Document Proposal
                                                            • Dojo
                                                            • Door
                                                            • Ecliptic
                                                            • Event Log
                                                            • Eyre
                                                            • Ford
                                                            • Galaxy
                                                            • Gall
                                                            • Gate
                                                            • HD Wallet
                                                            • Hoon
                                                            • Invite Tree
                                                            • Iris
                                                            • Jael
                                                            • Jaque
                                                            • Keyfile
                                                            • Landscape
                                                            • Mark
                                                            • Moon
                                                            • Nock
                                                            • Noun
                                                            • OTA Updates
                                                            • Payload
                                                            • pH
                                                            • Pier
                                                            • Pill
                                                            • Planet
                                                            • Proxies
                                                            • Replay
                                                            • Sail/Udon
                                                            • Senate
                                                            • Ship
                                                            • ship.arvo.network
                                                            • Star
                                                            • |sync
                                                            • Trap
                                                            • Upgrade Proposal
                                                            • Vane
                                                            • Vere
                                                            • Voting
                                                            • Wallet-Generator
                                                            Urbit
                                                            • Introduction
                                                            • Development

                                                              • Getting Started
                                                              • Environment Setup
                                                              • Grants Program
                                                              • Project Repositories
                                                              • Precepts
                                                              • System Overview

                                                                • Arvo
                                                                • Hoon
                                                                • Nock
                                                                • Vere
                                                                • Azimuth
                                                                • Cryptography
                                                                • Arvo

                                                                  • Overview
                                                                  • Reference

                                                                    • Cryptography
                                                                    • Filesystem Hierarchy
                                                                    • Ames

                                                                      • Overview
                                                                      • Cryptography
                                                                      • API Reference
                                                                      • Behn

                                                                        • Overview
                                                                        • API Reference
                                                                        • Clay

                                                                          • Overview
                                                                          • Architecture
                                                                          • Using Clay
                                                                          • Data Types
                                                                          • Scry Reference
                                                                          • API Reference
                                                                          • Examples
                                                                          • Dill

                                                                            • Overview
                                                                            • API Reference
                                                                            • Eyre

                                                                              • Overview
                                                                              • External API Reference
                                                                              • Internal API Reference
                                                                              • Scry Reference
                                                                              • Data Types
                                                                              • Examples
                                                                              • Ford

                                                                                • Overview
                                                                                • Gall

                                                                                  • Overview
                                                                                  • Iris

                                                                                    • API Reference
                                                                                    • Jael

                                                                                      • API Reference
                                                                                      • Concepts

                                                                                        • Subscriptions
                                                                                        • Tutorials

                                                                                          • Move Trace
                                                                                        • Userspace

                                                                                          • Overview
                                                                                          • Gall

                                                                                            • Overview
                                                                                            • Tutorial
                                                                                            • API Reference
                                                                                            • Graph Store

                                                                                              • Graph Store Overview
                                                                                              • Data Structure Overview
                                                                                              • Validator Walkthrough
                                                                                              • Advanced Info
                                                                                              • Threads

                                                                                                • Overview
                                                                                                • HTTP API
                                                                                                • Reference
                                                                                                • Basics

                                                                                                  • Fundamentals
                                                                                                  • Bind
                                                                                                  • Input
                                                                                                  • Output
                                                                                                  • Summary
                                                                                                  • Gall

                                                                                                    • Start Thread
                                                                                                    • Take Result
                                                                                                    • Take Facts
                                                                                                    • Stop Thread
                                                                                                    • Poke Thread
                                                                                                    • Examples

                                                                                                      • Fetch JSON
                                                                                                      • Child Thread
                                                                                                      • Main-loop
                                                                                                      • Poke Agent
                                                                                                      • Scry
                                                                                                      • Take Fact
                                                                                                    • Landscape

                                                                                                      • Overview
                                                                                                      • API Reference

                                                                                                        • Graph Store
                                                                                                    • Hoon

                                                                                                      • Overview
                                                                                                      • Hoon School

                                                                                                        • 1.1 Setup
                                                                                                        • 1.1.1 Walkthrough: List of Numbers
                                                                                                        • 1.2 Nouns
                                                                                                        • 1.3 Hoon Syntax
                                                                                                        • 1.3.1 Walkthrough: Conditionals
                                                                                                        • 1.4 Gates (Hoon Functions)
                                                                                                        • 1.4.1 Walkthrough: Recursion
                                                                                                        • 1.5 Lists
                                                                                                        • 1.5.1 Walkthrough: Fibonacci Sequence
                                                                                                        • 1.6 The Subject and Its Legs
                                                                                                        • 1.6.1 Walkthrough: Ackermann Function
                                                                                                        • 1.7 Arms and Cores
                                                                                                        • 1.7.1 Walkthrough: Caesar Cipher
                                                                                                        • 1.8 Doors
                                                                                                        • 1.8.1 Bank Account
                                                                                                        • 1.9 Generators
                                                                                                        • 2.1 Atoms, Auras, and Simple Cell Types
                                                                                                        • 2.2 Type Checking and Type Inference
                                                                                                        • 2.3 Structures and Complex Types
                                                                                                        • 2.3.1 Walkthrough: Libraries
                                                                                                        • 2.3.2 Molds
                                                                                                        • 2.4 Standard Library: Trees, Sets, and Maps
                                                                                                        • 2.5 Type Polymorphism
                                                                                                        • 2.5.1 Walkthrough: Iron Polymorphism and Wet Polymorphism
                                                                                                        • 2.5.2 Walkthrough: Lead Polymorphism
                                                                                                        • 2.6 Behn
                                                                                                        • 2.7 Gall
                                                                                                        • 2.7.1 Gall Walkthrough: Egg Timer
                                                                                                        • Guides

                                                                                                          • CLI apps
                                                                                                          • Parsing
                                                                                                          • Writing Aqua Tests
                                                                                                          • Reference

                                                                                                            • Cheat Sheet
                                                                                                            • Irregular forms
                                                                                                            • Hoon Errors
                                                                                                            • Hoon Style Guide
                                                                                                            • Basic Types
                                                                                                            • Advanced Types
                                                                                                            • Auras
                                                                                                            • Runes

                                                                                                              • Atoms and strings
                                                                                                              • Nock . ('dot')
                                                                                                              • Wild ! ('zap')
                                                                                                              • Change Subject = ('tis')
                                                                                                              • Conditionals ? ('wut')
                                                                                                              • Cores | ('bar')
                                                                                                              • Arms + ('lus')
                                                                                                              • Cells : ('col')
                                                                                                              • Calls % ('cen')
                                                                                                              • Casts ^ ('ket')
                                                                                                              • Structures $ ('buc')
                                                                                                              • Make ; ('mic')
                                                                                                              • Hints ~ ('sig')
                                                                                                              • Terminators -- and ==
                                                                                                              • Limbs and wings

                                                                                                                • Limbs
                                                                                                                • Wings
                                                                                                                • Standard library

                                                                                                                  • Table of Contents
                                                                                                                  • 1a: Basic Arithmetic
                                                                                                                  • 1b: Tree Addressing
                                                                                                                  • 1c: Molds and Mold-Builders
                                                                                                                  • 2a: Unit Logic
                                                                                                                  • 2b: List Logic
                                                                                                                  • 2c: Bit Arithmetic
                                                                                                                  • 2d: Bit Logic
                                                                                                                  • 2e: Insecure Hashing
                                                                                                                  • 2f: Noun Ordering
                                                                                                                  • 2g: Unsigned Powers
                                                                                                                  • 2h: Set Logic
                                                                                                                  • 2i: Map Logic
                                                                                                                  • 2j: Jar and Jug Logic
                                                                                                                  • 2k: Queue Logic
                                                                                                                  • 2l: Container from Container
                                                                                                                  • 2m: Container from Noun
                                                                                                                  • 2n: Functional Hacks
                                                                                                                  • 2o: Normalizing Containers
                                                                                                                  • 2p: Serialization
                                                                                                                  • 2q: Molds and Mold-Builders
                                                                                                                  • 3a: Modular and Signed Ints
                                                                                                                  • 3b: Floating Point
                                                                                                                  • 3c: Urbit Time
                                                                                                                  • 3d: SHA Hash Family
                                                                                                                  • 3e: AES encryption (Removed)
                                                                                                                  • 3f: Scrambling
                                                                                                                  • 3g: Molds and Mold-Builders
                                                                                                                  • 4a: Exotic Bases
                                                                                                                  • 4b: Text Processing
                                                                                                                  • 4c: Tank Printer
                                                                                                                  • 4d: Parsing (Tracing)
                                                                                                                  • 4e: Parsing (Combinators)
                                                                                                                  • 4f: Parsing (Rule-Builders)
                                                                                                                  • 4g: Parsing (Outside Caller)
                                                                                                                  • 4h: Parsing (ASCII Glyphs)
                                                                                                                  • 4i: Parsing (Useful Idioms)
                                                                                                                  • 4j: Parsing (Bases and Base Digits)
                                                                                                                  • 4k: Atom Printing
                                                                                                                  • 4l: Atom Parsing
                                                                                                                  • 4m: Formatting Functions
                                                                                                                  • 4n: Virtualization
                                                                                                                  • 4o: Molds
                                                                                                                  • 5a: Compiler Utilities
                                                                                                                  • 5b: Macro Expansion
                                                                                                                  • 5c: Compiler Backend & Prettyprinter
                                                                                                                  • 5d: Parser
                                                                                                                  • 5e: Caching Compiler
                                                                                                                  • 5f: Molds and Mold-Builders
                                                                                                                  • 5g: profiling support
                                                                                                              • Nock

                                                                                                                • Nock Definition
                                                                                                                • Explanation
                                                                                                                • Example
                                                                                                                • Implementations
                                                                                                                • Vere

                                                                                                                  • C Runtime System
                                                                                                                  • Land of Nouns
                                                                                                                  • API overview by prefix
                                                                                                                  • C in Urbit
                                                                                                                  • Writing Jets
                                                                                                                  • Cryptography
                                                                                                                  • Azimuth

                                                                                                                    • Overview
                                                                                                                    • Life and Rift
                                                                                                                    • Advanced Azimuth Tools
                                                                                                                    • Glossary

                                                                                                                      • Ames
                                                                                                                      • Aqua
                                                                                                                      • Arm
                                                                                                                      • Arvo
                                                                                                                      • Atom
                                                                                                                      • Azimuth
                                                                                                                      • Battery
                                                                                                                      • Behn
                                                                                                                      • Breach
                                                                                                                      • Bridge
                                                                                                                      • Censures
                                                                                                                      • Ceremony
                                                                                                                      • chat
                                                                                                                      • Claims
                                                                                                                      • Clay
                                                                                                                      • Comet
                                                                                                                      • Core
                                                                                                                      • Delegated Sending
                                                                                                                      • Desk
                                                                                                                      • Dill
                                                                                                                      • Document Proposal
                                                                                                                      • Dojo
                                                                                                                      • Door
                                                                                                                      • Ecliptic
                                                                                                                      • Event Log
                                                                                                                      • Eyre
                                                                                                                      • Ford
                                                                                                                      • Galaxy
                                                                                                                      • Gall
                                                                                                                      • Gate
                                                                                                                      • HD Wallet
                                                                                                                      • Hoon
                                                                                                                      • Invite Tree
                                                                                                                      • Iris
                                                                                                                      • Jael
                                                                                                                      • Jaque
                                                                                                                      • Keyfile
                                                                                                                      • Landscape
                                                                                                                      • Mark
                                                                                                                      • Moon
                                                                                                                      • Nock
                                                                                                                      • Noun
                                                                                                                      • OTA Updates
                                                                                                                      • Payload
                                                                                                                      • pH
                                                                                                                      • Pier
                                                                                                                      • Pill
                                                                                                                      • Planet
                                                                                                                      • Proxies
                                                                                                                      • Replay
                                                                                                                      • Sail/Udon
                                                                                                                      • Senate
                                                                                                                      • Ship
                                                                                                                      • ship.arvo.network
                                                                                                                      • Star
                                                                                                                      • |sync
                                                                                                                      • Trap
                                                                                                                      • Upgrade Proposal
                                                                                                                      • Vane
                                                                                                                      • Vere
                                                                                                                      • Voting
                                                                                                                      • Wallet-Generator
                                                                                                                      Urbit/Documentation/Hoon/Reference/Standard library

                                                                                                                      4o: Molds

                                                                                                                      ++abel

                                                                                                                      Biblical names in hoon are primarily aliases for the compiler.

                                                                                                                      Source

                                                                                                                      ++  abel  typo                                      ::  original sin: type
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *abel
                                                                                                                          %void

                                                                                                                      ++aura

                                                                                                                      'type' of atom

                                                                                                                      By convention, a short name for a category of atom. ++aura is circularly defined, with @ta being the ++aura of the ASCII subset commonly used in urbit.

                                                                                                                      Source

                                                                                                                      ++  aura  ,@ta                                          ::  atom format
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      See also: ++base, aura reference

                                                                                                                          > `aura`%ux
                                                                                                                          ~.ux

                                                                                                                      ++axis

                                                                                                                      Nock axis

                                                                                                                      A Nock axis inside a noun. After the leading 1, in binary, a 1 signfies right and 0 left.

                                                                                                                      Source

                                                                                                                      ++  axis  ,@                                            ::  tree address
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *axis
                                                                                                                          0
                                                                                                                      
                                                                                                                          > :: 0 is not actually a valid axis
                                                                                                                          > [[4 5] 6 7]
                                                                                                                          [[4 5] 6 7]
                                                                                                                          > `axis`0b110
                                                                                                                          6

                                                                                                                      ++base

                                                                                                                      Base type

                                                                                                                      A base type that nouns are built from. A ++base is either a noun, cell, boolean or null labelled with an aura.

                                                                                                                      Source

                                                                                                                      ++  base  ?([%atom p=aura] %noun %cell %bean %null)     ::  axils, @ * ^ ? ~
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *base
                                                                                                                          %null
                                                                                                                      
                                                                                                                          > (ream '=|(^ !!)')
                                                                                                                          [%tsbr p=[%axil p=%cell] q=[%zpzp ~]]
                                                                                                                          > :: p.p is a ++base
                                                                                                                          > (ream '=|(@t !!)')
                                                                                                                          [%tsbr p=[%axil p=[%atom p=~.t]] q=[%zpzp ~]]
                                                                                                                          > (ream '=|(? !!)')
                                                                                                                          [%tsbr p=[%axil p=%bean] q=[%zpzp ~]]

                                                                                                                      ++bean

                                                                                                                      Boolean

                                                                                                                      0, &, or %.y are true, and 1, |, and %.n are false.

                                                                                                                      Source

                                                                                                                      ++  bean  ,?                                            ::  0=&=yes, 1=|=no
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *bean
                                                                                                                          %.y
                                                                                                                      
                                                                                                                          > `bean`&
                                                                                                                          %.y
                                                                                                                          > `bean`|
                                                                                                                          %.n

                                                                                                                      ++beer

                                                                                                                      Tape builder

                                                                                                                      Used to build tapes internally.

                                                                                                                      Source

                                                                                                                      ++  beer  $|(@ [~ p=hoon])                              ::  simple embed
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > `beer`'as'
                                                                                                                          29.537
                                                                                                                          > `beer`[~ (ream 'lan')]
                                                                                                                          [~ p=[%cnzz p=~[%lan]]]

                                                                                                                      ++beet

                                                                                                                      XML interpolation cases

                                                                                                                      Used internally.

                                                                                                                      Source

                                                                                                                      ++  beet  $|  @                                         ::  advanced embed
                                                                                                                                    $%  [%a p=hoon]                               ::  take tape
                                                                                                                                        [%b p=hoon]                               ::  take manx
                                                                                                                                        [%c p=hoon]                               ::  take marl
                                                                                                                                        [%d p=hoon]                               ::  take $+(marl marl)
                                                                                                                                        [%e p=hoon q=(list tuna)]                 ::  element literal
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      ++chum

                                                                                                                      Jet hint information

                                                                                                                      Jet hint information that must be present in the body of a ~/ or ~% rune. A ++chum can optionally contain a kelvin version, jet vendor, and "{major}.{minor}" version number.

                                                                                                                      Source

                                                                                                                      ++  chum  $?  lef=term                                  ::  jet name
                                                                                                                                        [std=term kel=@]                          ::  kelvin version
                                                                                                                                        [ven=term pro=term kel=@]                 ::  vendor and product
                                                                                                                                        [ven=term pro=term ver=@ kel=@]           ::  all of the above
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      XX there's a ++chum in zuse that's politely causing this not to work

                                                                                                                          > `chum`'hi'
                                                                                                                          lef=%hi
                                                                                                                      
                                                                                                                          > (ream '~/(%lob.314 !!)')
                                                                                                                          [%sgfs p=[std=%lob kel=314] q=[%zpzp ~]]

                                                                                                                      ++coil

                                                                                                                      Tuple of core information

                                                                                                                      Variance p, subject type q, and q: optional compiled nock, and arms. Used as an intermediate step within Section 2fB. Converted by ++core to %core type.

                                                                                                                      Source

                                                                                                                      ++  coil  $:  p=?(%gold %iron %lead %zinc)              ::  core type
                                                                                                                                        q=type                                    ::
                                                                                                                                        r=[p=?(~ ^) q=(map term foot)]            ::
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      ++foot

                                                                                                                      Cases of arms by variance model.

                                                                                                                      %ash arms are dry and geometric.

                                                                                                                      Source

                                                                                                                      ++  foot  $%  [%ash p=hoon]                           ::  dry arm, geometric
                                                                                                                                        [%elm p=hoon]                           ::  wet arm, generic
                                                                                                                                        [%oak ~]                                ::  XX not used
                                                                                                                                        [%yew p=(map term foot)]                ::  XX not used
                                                                                                                                    ==                                          ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      See also: ++ap, ++ut

                                                                                                                          > *foot
                                                                                                                          [%yew p={}]
                                                                                                                      
                                                                                                                          > (ream '|%  ++  $  foo  --')
                                                                                                                          [%brcn p={[p=%$ q=[%ash p=[%cnzz p=~[%foo]]]]}]
                                                                                                                          > +<+:(ream '|%  ++  $  foo  --')
                                                                                                                          t=~[%ash %cnzz %foo]
                                                                                                                          > (foot +<+:(ream '|%  ++  $  foo  --'))
                                                                                                                          [%ash p=[%cnzz p=~[%foo]]]
                                                                                                                          > (foot +<+:(ream '|%  +-  $  foo  --'))
                                                                                                                          [%elm p=[%cnzz p=~[%foo]]]

                                                                                                                      ++limb

                                                                                                                      ++  limb  $|(term $%([%& p=axis] [%| p=@ud q=term]))    ::
                                                                                                                      

                                                                                                                      XX move to ++ut

                                                                                                                      Reference into subject by name/axis

                                                                                                                      See also: section 2fC-2fD

                                                                                                                      > (ream '^^$')
                                                                                                                          [%cnzz p=~[[%.n p=2 q=%$]]]
                                                                                                                          > (limb &2:(ream '^^$'))
                                                                                                                          [%.n p=2 q=%$]
                                                                                                                          > (limb &2:(ream '^^^$'))
                                                                                                                          [%.n p=3 q=%$]
                                                                                                                      

                                                                                                                      ++line

                                                                                                                      XX move to ++ut

                                                                                                                      Source

                                                                                                                      ++  line  ,[p=[%leaf p=aura q=@] q=tile]                ::  %kelp case
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > (ream '$%([1 a] [%2 b])')
                                                                                                                          [ %bccm
                                                                                                                              p
                                                                                                                            [ %kelp
                                                                                                                                p
                                                                                                                              [ i=[p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
                                                                                                                                t=~[[p=[%leaf p=~.ud q=2] q=[%herb p=[%cnzz p=~[%b]]]]]
                                                                                                                              ]
                                                                                                                            ]
                                                                                                                          ]
                                                                                                                          > &3:(ream '$%([1 a] [%2 b])')
                                                                                                                          p=[p=[%leaf p=%ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]
                                                                                                                          > (line &3:(ream '$%([1 a] [%2 b])'))
                                                                                                                          [p=[%leaf p=~.ud q=1] q=[%herb p=[%cnzz p=~[%a]]]]

                                                                                                                      ++metl

                                                                                                                      ++  metl  ?(%gold %iron %zinc %lead)                    ::  core variance
                                                                                                                      

                                                                                                                      XX move to ++ut

                                                                                                                      See also: ++coil


                                                                                                                      ++nock

                                                                                                                      Virtual machine. See Nock.

                                                                                                                      Source

                                                                                                                      ++  nock  $&  [p=nock q=nock]                           ::  autocons
                                                                                                                                        [%3 p=nock]                               ::  cell test
                                                                                                                                        [%4 p=nock]                               ::  increment
                                                                                                                                        [%5 p=nock q=nock]                        ::  equality test
                                                                                                                                        [%6 p=nock q=nock r=nock]                 ::  if, then, else
                                                                                                                                        [%7 p=nock q=nock]                        ::  serial compose
                                                                                                                                        [%8 p=nock q=nock]                        ::  push onto subject
                                                                                                                                        [%9 p=@ q=nock]                           ::  select arm and fire
                                                                                                                                        [%10 p=?(@ [p=@ q=nock]) q=nock]          ::  hint
                                                                                                                                        [%11 p=nock]                              ::  grab data from sky
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > !=([+(.) 20 -<])
                                                                                                                          [[4 0 1] [1 20] 0 4]
                                                                                                                          > (nock !=([+(.) 20]))
                                                                                                                          [p=[%4 p=[%0 p=1]] q=[%1 p=20]]

                                                                                                                      ++noun

                                                                                                                      ++  noun  ,*                                            ::  any noun
                                                                                                                      

                                                                                                                      Used nowhere XX

                                                                                                                          > `noun`~[1 2 3]
                                                                                                                          [1 2 3 0]

                                                                                                                      ++null

                                                                                                                      ++  null  ,~                                            ::  null, nil, etc
                                                                                                                      

                                                                                                                      Used nowhere XX

                                                                                                                          > :type; *null
                                                                                                                          ~
                                                                                                                          %~

                                                                                                                      ++port

                                                                                                                      XX move to ++ut

                                                                                                                      Type and location of core-shaped thing? XX Compiler Internals

                                                                                                                      Source

                                                                                                                      ++  port  $:  p=axis                                    ::
                                                                                                                                        $=  q                                     ::
                                                                                                                                        $%  [%& p=type]                           ::
                                                                                                                                            [%| p=axis q=(list ,[p=type q=foot])] ::
                                                                                                                                        ==                                        ::
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *port
                                                                                                                          [p=0 q=[%.y p=%void]]

                                                                                                                      ++span

                                                                                                                      ASCII atom

                                                                                                                      A restricted text atom for canonical atom syntaxes. The prefix is ~.. There are no escape sequences except ~~, which means ~, and ~-, which means _. - and . encode themselves. No other characters besides numbers and lowercase letters are permitted.

                                                                                                                      Source

                                                                                                                      ++  span  ,@ta                                     ::  text-atom (ASCII)
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > *span
                                                                                                                          ~.
                                                                                                                      
                                                                                                                          > `@t`~.foo
                                                                                                                          'foo'
                                                                                                                          > `@t`~.foo.bar
                                                                                                                          'foo.bar'
                                                                                                                          > `@t`~.foo~~bar
                                                                                                                          'foo~bar'
                                                                                                                          > `@t`~.foo~-bar
                                                                                                                          'foo_bar'
                                                                                                                          > `@t`~.foo-bar
                                                                                                                          'foo-bar'

                                                                                                                      ++tiki

                                                                                                                      XX move to ++ut

                                                                                                                      Source

                                                                                                                      ++  tiki                                                ::  test case
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      A `++wing` or `++hoon`.
                                                                                                                      
                                                                                                                          > (ream '=+  a=4  ?-(a @ ~)')
                                                                                                                          [ %tsls
                                                                                                                            p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
                                                                                                                              q
                                                                                                                            [ %wthz
                                                                                                                              p=[%.y p=~ q=~[%a]]
                                                                                                                              q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
                                                                                                                            ]
                                                                                                                          ]
                                                                                                                          > (ream '=+  a=4  ?-(4 @ ~)')
                                                                                                                          [ %tsls
                                                                                                                            p=[%ktts p=p=%a q=[%dtzy p=%ud q=4]]
                                                                                                                              q
                                                                                                                            [ %wthz
                                                                                                                              p=[%.n p=~ q=[%dtzy p=%ud q=4]]
                                                                                                                              q=~[[p=[%axil p=[%atom p=~.]] q=[%bczp p=%null]]]
                                                                                                                            ]
                                                                                                                          ]

                                                                                                                      ++toga

                                                                                                                      Tree of faces

                                                                                                                      A face, or tree of faces. A ++toga is applied to anything assigned using ^=.

                                                                                                                      XX move to ++ut and rune doc (for ^= examples)

                                                                                                                      Source

                                                                                                                      ++  toga                                                ::  face control
                                                                                                                                        [2 p=toga q=toga]                         ::  cell toga
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > a=1
                                                                                                                          a=1
                                                                                                                          > (ream 'a=1')
                                                                                                                          [%ktts p=p=%a q=[%dtzy p=%ud q=1]]
                                                                                                                          > [a b]=[1 2 3]
                                                                                                                          [a=1 b=[2 3]]
                                                                                                                          > (ream '[a b]=[1 2 3]')
                                                                                                                          [ %ktts
                                                                                                                            p=[%2 p=p=%a q=p=%b]
                                                                                                                            q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
                                                                                                                          ]
                                                                                                                      
                                                                                                                          > [a ~]=[1 2 3]
                                                                                                                          [a=1 2 3]
                                                                                                                          > (ream '[a ~]=[1 2 3]')
                                                                                                                          [ %ktts
                                                                                                                            p=[%2 p=p=%a q=[%0 ~]]
                                                                                                                            q=[%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
                                                                                                                          ]

                                                                                                                      ++tone

                                                                                                                      Intermediate Nock computation result

                                                                                                                      Similar to ++toon, but stack trace is not yet rendered.

                                                                                                                      Source

                                                                                                                      ++  tone  $%  [%0 p=*]                                  ::  success
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > (mink [[20 21] 0 3] ,~)
                                                                                                                          [%0 p=21]
                                                                                                                      
                                                                                                                          > (mink [[0] !=(.^(cy//=main/1))] ,~)
                                                                                                                          [%1 p=~[[31.075 1.685.027.454 1.852.399.981 49 0]]]
                                                                                                                          > (path [31.075 1.685.027.454 1.852.399.981 49 0])
                                                                                                                          /cy/~zod/main/1
                                                                                                                      
                                                                                                                          > (mink [[1 2] !=(~|(%hi +(.)))] ,~)
                                                                                                                          [%2 p=~[[~.yelp 26.984]]]
                                                                                                                          > (mink [[1 2] !=(!:(+(.)))] ,~)
                                                                                                                          [ %2
                                                                                                                              p
                                                                                                                            ~[
                                                                                                                              [ ~.spot
                                                                                                                                [ [ 1.685.027.454
                                                                                                                                    7.959.156
                                                                                                                                    \/159.445.990.350.374.058.574.398.238.344.143.957.205.628.479.572.65\/
                                                                                                                                      8.112.403.878.526
                                                                                                                                    \/                                                                  \/
                                                                                                                                    0
                                                                                                                                  ]
                                                                                                                                  [1 20]
                                                                                                                                  1
                                                                                                                                  24
                                                                                                                                ]
                                                                                                                              ]
                                                                                                                            ]
                                                                                                                          ]

                                                                                                                      ++tuna

                                                                                                                      XML template tree

                                                                                                                      An XML template tree.

                                                                                                                      Source

                                                                                                                      ++  tuna                                                ::  tagflow
                                                                                                                                        [%d p=hoon]                               ::  dynamic list
                                                                                                                                        [%e p=hoon q=(list tuna)]                 ::  element
                                                                                                                                        [%f p=(list tuna)]                        ::  subflow
                                                                                                                                    ==                                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      Leaf %a contains plain-text, %b an empty tag, %c a static list, %d a dynamic list, %e a full node element containing a hoon and a list of tuna, and %f is a empty node.

                                                                                                                      See also: ++sail


                                                                                                                      ++tusk

                                                                                                                      List of expressions

                                                                                                                      List of ++hoons. In :*, for example, your contents is a ++tusk.

                                                                                                                      Source

                                                                                                                      ++  tusk  (list hoon)                                   ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > (ream '[1 2 3]')
                                                                                                                          [%cltr p=~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]]
                                                                                                                          > (tusk +:(ream '[1 2 3]'))
                                                                                                                          ~[[%dtzy p=%ud q=1] [%dtzy p=%ud q=2] [%dtzy p=%ud q=3]]

                                                                                                                      ++hoon

                                                                                                                      Expression

                                                                                                                      An expression, or AST.

                                                                                                                      See Rune section of Hoon reference


                                                                                                                      ++tyke

                                                                                                                      List of 'maybe' hoons

                                                                                                                      List of ++unit ++hoon, or gaps left to be inferred, in ++path parsing. When you use a path such as /=main=/pub/src/doc the path is in fact a ++tyke, where the = are inferred from your current path.

                                                                                                                      Source

                                                                                                                      ++  tyke  (list (unit hoon))                            ::
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > (scan "/==as=" porc:vast)
                                                                                                                          [0 ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]]
                                                                                                                          > `tyke`+:(scan "/==as=" porc:vast)
                                                                                                                          ~[~ ~ [~ [%dtzy p=%tas q=29.537]] ~]

                                                                                                                      ++typo

                                                                                                                      Pointer for ++type

                                                                                                                      Pointer for ++type. ++typo preserves the previous ++type in your context when upating.

                                                                                                                      Source

                                                                                                                      ++  typo  type                                          ::  old type
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      See also: ++seem, ++vise, ++type


                                                                                                                      ++tyre

                                                                                                                      List, term hoon

                                                                                                                      Associative list of ++term ++hoon, used in jet hint processing.

                                                                                                                      Source

                                                                                                                      ++  tyre  (list ,[p=term q=hoon])                       ::
                                                                                                                      

                                                                                                                      ++vase

                                                                                                                      Typed data. A ++vase is used wherever typed data is explicitly worked with.

                                                                                                                      Source

                                                                                                                      ++  vase  ,[p=type q=*]                                 ::  type-value pair
                                                                                                                      

                                                                                                                      Examples

                                                                                                                          > `vase`!>(~)
                                                                                                                          [p=[%cube p=0 q=[%atom p=%n]] q=0]

                                                                                                                      ++vise

                                                                                                                      Convert during reboot

                                                                                                                      Used to convert from previously-typed data during reboot.

                                                                                                                      Source

                                                                                                                      ++  vise  ,[p=typo q=*]                                 ::  old vase
                                                                                                                      

                                                                                                                      Examples

                                                                                                                      See also: ++typo, ++seer


                                                                                                                      ++wing

                                                                                                                      ++  wing  (list limb)                                   ::
                                                                                                                      

                                                                                                                      Address in subject. A ++wing is a path to a value in the subject. A term alone is the trivial case of a ++wing.

                                                                                                                      See also: ++hoon

                                                                                                                          > (ream 'a.+.c')
                                                                                                                          [%cnzz p=~[%a [%.y p=3] %c]]
                                                                                                                          > (wing +:(ream 'a.+.c'))
                                                                                                                          ~[%a [%.y p=3] %c]

                                                                                                                      <-

                                                                                                                      4n: Virtualization

                                                                                                                      5a: Compiler Utilities

                                                                                                                      ->