Question: Write the following program in Racket: Remember there are no loops in a pure functional language so anything you need to do multiple times must
Write the following program in Racket:
Remember there are no loops in a pure functional language so anything you need to do multiple times must be done using recursion.
Write a function number_in_month that takes a list of dates and a month (i.e. an int) and returns how many dates in the list are in the given month.
(* Function that receives a list of birth dates (tuples YYYY MM DD) along with a given month and returns how many of date tuples have that month *)
(* Done using a list of tuples *)
Include your test cases please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
