Question: Comment your result and findings. The code must be in ML language. (20 points) Define a function single : 'a list list -> 'a list

Comment your result and findings. The code must be in ML language.
(20 points) Define a function single : 'a list list -> 'a list which takes as input, a list of lists, and returns a list of an original elements in the same order in which they appear in the argument. Examples: single [] = [] single [[1] = [] single [[1,2],[1,3,4],[l, (5), (6,7]] = [1,2,1,3,4,5,6,71 [[ single [["a"],["b", "c"]] = ["a", "b", "c"]] "C " =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
