newbase60: Encodes and decodes numbers using Tantek Çelik's New Base 60 number system.

[ data, library, mpl ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0
Change log ChangeLog.md
Dependencies array (>=0.5.4 && <0.6), base (>=4.14.1 && <4.15) [details]
License MPL-2.0
Copyright Astrid Yu
Author Astrid Yu
Maintainer astrid@astrid.tech
Category Data
Home page https://github.com/astralbijection/newbase60-hs#readme
Bug tracker https://github.com/astralbijection/newbase60-hs/issues
Source repo head: git clone https://github.com/astralbijection/newbase60-hs
Uploaded by astralbijection at 2021-04-04T18:18:11Z
Distributions
Downloads 253 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-04-04 [all 1 reports]

Readme for newbase60-0.1.0.0

[back to package description]

NewBase60, Haskell Edition

Tests Hackage

This package includes an implementation of Tantek Çelik's New Base 60 number system.

Examples

import Data.String.NewBase60 ( numToSxg, sxgToNum )

-- It converts numbers into base 60
numToSxg 60 -- "10"
numToSxg 1337 -- "NH"

-- Converting to num filters out invalid characters
sxgToNum "1#O" -- 60
sxgToNum "NH*" -- 1337