Hello. I'm trying to write a code which deletes the wanted element in a list. Like this :  myremove "doaltan" 3 = "doltan". I wrote the code below but it doesn't even compile. Could you help me with fixing the code? Thanks!

myremove x s = (take  (s-1) x):(drop (s+1) x)