Skip to content

Instantly share code, notes, and snippets.

@kjagiello
Created February 26, 2013 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjagiello/9cd8a5499ac069040a76 to your computer and use it in GitHub Desktop.
Save kjagiello/9cd8a5499ac069040a76 to your computer and use it in GitHub Desktop.
fun removeElement ([], _) = []
| removeElement (first::rest, x) =
if first = x then
rest
else
first::removeElement (rest, x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment