1

I wanted my code to do the following in a list: when the index is bigger than 0, duplicate to its value. So for example:
ListOp :: [Int] -> [Int]
ListOp [1, 3, 2] = [1, 3, 3, 3, 2, 2]
ListOp [ 5, 0, 1] = [5, 5, 5, 5, 5, 1]
ListOp [ 3, -2, 1] = [3, 3, 3 , 1]
I was wondering how to improve my code...