Crate old_norse_alphabet

Source
Expand description

Old Norse alphabet constants & sort for Rust.

Old Norse constains letters that may be hard to type with most keyboards. Prime examples being þ, ð and ǫ. There are also some letters “missing”, like c and q. This package offers the alphabet & tricky individual letters as JS constants.

Also provides sorting function to get the old norse alphabet order just right.

Constants§

AE
Same as ash, æ
ASH
æ
ETH
ð
OE
œ
O_CAUDATA
ǫ
SLASHED_O
ø
THORN
þ

Functions§

get_lowercase
Return old norse alphabet in lowercase.
get_uppercase
Return old norse alphabet in uppercase.
get_valid_as_first
Return old norse alphabet letters that are valid as a first letter. To put it simply: this does not include letter ð
old_norse_sort
Comparison function to sort by Old Norse alphabetical order. Can be hooked to vec.sort_by()