Skip to content

Instantly share code, notes, and snippets.

@rgrinberg
Created May 11, 2017 07:42
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 rgrinberg/111da9db6229d23c91c93fa263639c45 to your computer and use it in GitHub Desktop.
Save rgrinberg/111da9db6229d23c91c93fa263639c45 to your computer and use it in GitHub Desktop.
drop : ∀{l}{A : Set l}(n : ℕ) -> List A -> List A
drop zero xs = xs
drop (suc n) xs = drop n xs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment