Skip to content

Instantly share code, notes, and snippets.

@siddhartha-gadgil
Created March 18, 2014 13:30
Show Gist options
  • Select an option

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

Select an option

Save siddhartha-gadgil/9620044 to your computer and use it in GitHub Desktop.
length₀ : (A : Set) → List A → ℕ
length₀ _ [] = zero
length₀ A (a :: l) = succ (length₀ A l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment