Skip to content

Instantly share code, notes, and snippets.

@naush
Created July 14, 2010 15:10
Show Gist options
  • Save naush/475521 to your computer and use it in GitHub Desktop.
Save naush/475521 to your computer and use it in GitHub Desktop.
increment [] = []
increment (x:xs) = if x < 3 then [] else (x+1):increment xs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment