Implemented functions in the Char, String, and ListPair modules.