Skip to content

Instantly share code, notes, and snippets.

@joelburget
Created February 2, 2014 06:45
Show Gist options
  • Save joelburget/8763937 to your computer and use it in GitHub Desktop.
Save joelburget/8763937 to your computer and use it in GitHub Desktop.
idris
data Matrix : Vect n Nat -> Type -> Type where
Mat : (foldr Vect a dims) -> Matrix (Vect n Nat) a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment