I'm pretty new in Haskell and I have got a very strange mistake:
insertion el [] = [el]
insertion el (x:xs) = | el < x = el:x:xs
| otherwise = x:insertion el xs
Which gives me this error, on the second line at the caractere just after the pipe: parse error on input `|' Failed, modules loaded: none.
I don't really get it, would you have a tips ? Thanks in advance :)