Question: Probably needs to use fold-left and map function. I also think this needs to use append function. This should be implemented in lambda calculus with

 Probably needs to use fold-left and map function. I also think

Probably needs to use fold-left and map function. I also think this needs to use append function. This should be implemented in lambda calculus with scheme.

Define a function removeDup, which takes a list of ordered numbers, and returns a list that is identical to the input except that duplicated numbers are removed. For example, (removeDup '(1 1 2)) should return (1 2); (removeDup '(35 57779)) should return (3 5 7 9)

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!