| Copyright | (c) 2019 Jared Tobin |
|---|---|
| License | MIT |
| Maintainer | Jared Tobin <jared@jtobin.io> |
| Stability | unstable |
| Portability | ghc |
| Safe Haskell | None |
| Language | Haskell2010 |
Urbit.Ob.Title
Description
Functions for determining ship class and parentage.
Analogous to the +title arm of zuse.hoon.
Documentation
Ship class.
clan :: Patp -> Class Source #
Determine ship class.
>>>let fes = patp 255>>>let fipfes = patp 256>>>let dostec = patp 0xFFFFFFFF>>>let risfen = patp 0xFFFFFFFFFFFFFFFF>>>let fipfesfipfes = patp 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF>>>clan fesGalaxy>>>clan fipfesStar>>>clan dostecPlanet>>>clan risfenMoon>>>clan fipfesfipfesComet
Determine parent.
A ship's parent signs for it on the network. sein establishes the
so-called autoboss of a ship (which can escape to another sponsor).
Note that galaxies sign for themselves, and stars sign for comets.
>>>sein fes~fes>>>sein fipfes~fes>>>sein dostec~fipfes>>>sein risfen~dostec-risfen>>>sein fipfesfipfes~fipfes