Skip to Content
Effective Haskell
book

Effective Haskell

by Rebecca Skinner
July 2023
Intermediate to advanced
670 pages
17h 13m
English
Pragmatic Bookshelf
Content preview from Effective Haskell

Exercises

The ways that you choose to document and organize your code are more subjective than most of the topics we’ll cover in this book. As you start to work on these exercises you’ll realize there are several reasonable ways to approach them. For each of the exercises, try out a few different approaches to get a feel for the pros and cons of each, and to start developing your own personal style.

Refactoring UserInfo

Refactor the HaskellBook.Examples.UserInfo module into smaller modules. Try to look at different ways that you can separate out the concerns of authentication, looking up a particular user, and getting information about a user.

Old New Projects

Use cabal and create projects for all of the examples that you’ve already worked on ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Grokking Functional Programming

Grokking Functional Programming

Michal Plachta
Grokking Algorithms

Grokking Algorithms

Aditya Bhargava
The Rust Programming Language, 2nd Edition

The Rust Programming Language, 2nd Edition

Steve Klabnik, Carol Nichols

Publisher Resources

ISBN: 9798888650400Errata Page