alphabetify

Create an alphabetical hash. Taking an existing alphabetic hash (of any length), will return the next hash in sequence. If all characters in hash are rolled over, will append a new char (increase the length by 1.) eg. 'ZZZZ' -> 'AAAAA' eg. 'AAAZ' -> 'AABA'


License
GPL-3.0

Documentation

Alphabetify

Build Status

Create an alphabetical hash. Taking an existing alphabetic hash (of any length),
will return the next hash in sequence. If all characters in hash are rolled over,
will append a new char (increase the length by 1.)
eg. 'ZZZZ' -> 'AAAAA' eg. 'AAAZ' -> 'AABA'

Installation

The package can be installed as:

  1. Add alphabetify to your list of dependencies in mix.exs:
elixir
def deps do
  [{:alphabetify, "~> 1.0.0"}]
end

Important

Version 1.0.0 uses DETS to store the hash. If you are upgrading from an earlier version, you will want to seed your hash again to transfer your last used hash to the new data store.