Skip to content

Instantly share code, notes, and snippets.

@siddhartha-gadgil
Created March 20, 2014 10:49
Show Gist options
  • Select an option

  • Save siddhartha-gadgil/9661244 to your computer and use it in GitHub Desktop.

Select an option

Save siddhartha-gadgil/9661244 to your computer and use it in GitHub Desktop.
countdown : (n : ℕ) → Vec ℕ (succ n)
countdown zero = zero :: []
countdown (succ m) = (succ m) :: (countdown m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment