isSpace package:binary-parsers

Fast predicate for matching ASCII space characters. Note: This predicate only gives correct answers for the ASCII encoding. For instance, it does not recognise U+00A0 (non-breaking space) as a space character, even though it is a valid ISO-8859-15 byte. For a Unicode-aware and only slightly slower predicate, use isSpace
Fast Word8 predicate for matching ASCII space characters
isSpace w = w == 32 || w - 9 <= 4