Module type Bap_strings_unscrambler.Alphabet

symbol encoding

val length : int

total number of symbols in the alphabet

val index : char -> int

index x maps x to the n'th symbol of an alphabet, if x is a representation of that symbols, returns a number that is outside of [0,len-1] interval if it is not.