The latest version of urbit-hob is 0.3.3-0.

urbit-hob

Version 0.1.0 revision 0 uploaded by JaredTobin.

Package meta

Synopsis
Hoon-style atom manipulation and printing functions
Description

Here you can primarily find functions for dealing with the "patp" phonetic base used by Urbit. The '@p' encoding is used for naming ships; it uniquely represents a 32-bit number in a memorable and pronounceable fashion.

The '@p' encoding is an obfuscated representation of an underlying 32-bit number, in particular, hence the ob in the library's name.

The library exposes two functions, patp and fromPatp, for converting between representations. You can render a Patp value via the render function.

Here's a quick example:

import qualified Urbit.Ob as Ob

let nidsut = Ob.patp 15663360
Ob.render nidsut

"~nidsut-tomdun" > Ob.fromPatp nidsut 15663360

Author
Jared Tobin
Bug reports
https://github.com/urbit/urbit-hob/issues
Category
Urbit
Copyright
2019 Jared Tobin
Homepage
https://github.com/urbit/urbit-hob#readme
Maintainer
jared@jtobin.io
Package URL
n/a
Stability
n/a

Components