Back to Fpinscala

06.Hint

answerkey/monads/06.hint.md

latest113 B
Original Source

You can start by pattern matching on the argument. If the list is empty, our only choice is to return unit(Nil)