Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save siddhartha-gadgil/9661183 to your computer and use it in GitHub Desktop.
data Vec (A : Set) : ℕ → Set where
[] : Vec A zero
_::_ : {n : ℕ} → A → Vec A n → Vec A (succ n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment