Byte-sized functional programming: Filter first