Rewrite of Data.Char library?