I need to implement function that inserts two elements in the head of the List but I get
Exception: <interactive>:7:5-41: Non-exhaustive patterns in function addTwoElements
The code of the the function is following
addTwoElements a b [xs]= a : b : [xs]
Thanks in advance