Back to Fpinscala

02.Answer

answerkey/testing/02.answer.md

latest277 B
Original Source
  • The max of an empty list is an error.
  • The max of a single element list is that element.
  • The max of a list whose elements are all equal to x is x.
  • The max of a list is an element in the list.
  • The max of a list is greater than or equal to every element in the list.