string_naming v0.2.0 String.Naming
The sibling of String.Casing
,
String.Break
and String.Normalizer
from Elixir core.
It parses the NamesList.txt
file provided by Consortium, building
the set of nested modules under String.Naming
. Each nested module is granted with __all__/0
function that returns all the
available symbols in that particular namespace, as well as with methods returning a symbol by itβs name.
Examples
iex> String.Naming.AnimalSymbols.monkey
"π"
iex> String.Naming.FrakturSymbols.Mathematical.Fraktur.Capital.__all__
[a: "π", b: "π
", d: "π", e: "π", f: "π", g: "π", j: "π",
k: "π", l: "π", m: "π", n: "π", o: "π", p: "π", q: "π",
s: "π", t: "π", u: "π", v: "π", w: "π", x: "π", y: "π"]