Refactoring to use Text and Bytestring

Refactoring to use Text and Bytestring

Many of the earlier exercises in this book used String instead of ByteString or Text. Refactor some of your existing code to use these more efficient types instead.

Hint 1

Some high level hint text

Hint 2

Some more detailed hint text

Hint 3

Even more detailed hint text

Solution

A complete solution for the exercise