urbit-ob

JavaScript utilities for phonemic base wrangling.
Log | Files | Refs | README

commit 92898ea36a17b212188801b3cf422c4bb48f8f32
parent 4b5efd5902fe1542ec33512ae2234639166826ec
Author: Jared Tobin <jared@jtobin.io>
Date:   Fri, 28 Sep 2018 16:13:58 +1200

Minor formatting fixes.

Diffstat:
Msrc/index.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/index.js b/src/index.js @@ -320,6 +320,7 @@ const lsh = (a, b, c) => { return bex(sub).mul(c) } +// bignum patp const patp = (n) => { const zero = new bnjs(0) const one = new bnjs(1) @@ -355,7 +356,6 @@ const patp = (n) => { : loop(sxz, zero, '')) } - // returns the class of a ship from it's name const tierOfpatp = name => { const l = len(patp2arr(name)) @@ -524,4 +524,6 @@ module.exports = { _bin2dec: bin2dec, _dec2bin: dec2bin, _syl2bin: syl2bin, + + _arr2patp: arr2patp }