snoyberg/ascii — pull request #2 by mvv (2011-10-26 11:08:16+00:00)
Title: Character-level functions and predicates.

I noticed that usage of decimal constants in place of ASCII literals has become common (e.g. in your own warp and http-enumerator) and I think it's making sources harder to read, even when the comments are in place, and ultimately more error prone. I added a small function named "ascii", which does unchecked conversion between Char and Word8, so one can write "ascii 'a'" instead of "97 -- 'a'". I also added the usual list of character predicates (on Word8), this package looked like a right place to drop them.