1
Split: Write a function split that takes a delimiter value “c” and a list “iL”, and it splits the input list with respect to the delimiter “c”.
Example output:
split 0 [1,2,3,0,4,0,5,0,0,6,7,8,9,10]
[[1,2,3],[4],[5],[],[6,7,8,9,10]]
My split function:
split :: Eq a => a -> [a] -> [[a]]
split a i...