michaelglass/proquint/1.0.1

NOTE: the latest version is 1.1.0

Proquint

Basic usage:

Proquint.fromInt 1234
    |> Maybe.map Proquint.toString


Proquint.fromString "bonam-hohah"
    |> Maybe.map Proquint.toInt

Create

fromInt : Int -> Maybe Proquint

Accepts any int between 0 and 0xFFFFFFFF

fromString : String -> Maybe Proquint

parses proquint-strings to Proquints

Conversion

toInt : Proquint -> Int

returns the int value of the proquint

toString : Proquint -> String

returns the string value of the proquint

Type

Opaque type with a proquint inside