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 dates_in_month that takes a list of dates and a month (i.e., an int) and returns a list holding the dates from the argument list of dates that are in the month. The returned list should contain dates in the order they were originally given.

To make your life easier you may want to write an append function to be used in this one. It should take two list and append the second onto the first.

Include your test cases please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!