Skip to content

Instantly share code, notes, and snippets.

@Munksgaard
Created March 31, 2020 17:07
Show Gist options
  • Save Munksgaard/a505fda962587123d55e10efe8130115 to your computer and use it in GitHub Desktop.
Save Munksgaard/a505fda962587123d55e10efe8130115 to your computer and use it in GitHub Desktop.
f :: [a] -> [a]
f (x:x':xs) = x':x:xs
f xs = xs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment