Appendix. Answers to end-of-lesson exercises
The beautiful thing about code is that there are no wrong answers as long as you get the right results. The answers to the exercises shown here should be viewed as simply one possible solution to the problem. Especially in Haskell, there are many paths to the correct solution; if you have an alternative answer that gives the correct results, that’s the correct solution.
Note—if the results are equal, you need to compare first names:
And the new DC office: