This document summarizes a lecture about practical programming in Haskell. It discusses reading files, counting words, and improving performance. It shows how to:
1) Read a file into a bytestring for efficient processing, count the words, and print the result.
2) Use the Data.Text module for Unicode support when processing text files, reading the file as bytes and decoding to text before counting words.
3) Achieve performance comparable or better than C implementations when choosing efficient data representations like bytestrings and text.