Exam (elaborations)
Department of Computer Science Midterm Examination 1 Computer Science 312 Functional and Logic Programming
- Course
- Institution
Department of Computer Science Midterm Examination 1 Computer Science 312 Functional and Logic Programming Question 1 [8 marks] Consider the program dw _ [] = [] dw p (h:t) | p h = dw p t | otherwise = (h:t) (a) [4 marks] What is the inferred type of dw? (Use the notation that will b...
[Show more]