On seasons (continued)

Define a function which associates to each month of the year the season which contains the first day of this month.
  1. As an application of month_rec
  2. Using a pattern matching construct

Please use the following definitions :
seasons ( from this exercise) and months .

Solution

Look at this file