Created
July 13, 2014 16:29
-
-
Save deech/5253d72d946e8365816e to your computer and use it in GitHub Desktop.
100 people!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kill ((x:y:ys), zs) = kill (ys, zs ++ [x]) | |
kill ([x], (_:zs)) = kill (zs, [x]) | |
kill ([x], []) = x | |
kill ([], zs) = kill (zs, []) | |
run = kill ([1..100], []) | |
> run | |
73 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment