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
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started