Practices using examples from book: Functional Programming Patterns