ByteWeight

btw, `array` also have `map` and `filter_map` functions, so it is better to use them instead of switching to `list`. You pay for the switching itself, and also `array` iteration is much faster (since it is contiguous array, not a linked list). And the main reason, there will be less code =)