Following along from http://learnyouahaskell.com/chapters