initial commit
This commit is contained in:
1 parent
70e9a24640
commit
f9e4b4d9aa
8 files changed
+2102
No files matched your search
@@ -0,0 +1,10 @@
|
||||
module univTypes.Util.Fin where
|
||||
|
||||
open import Data.Nat using (ℕ; suc; zero)
|
||||
|
||||
-- `Fin n` is a type with `n` elements.
|
||||
-- You can think of `Fin n` as the type of all natural numbers less than `n`.
|
||||
|
||||
data Fin : ℕ → Set where
|
||||
zero : ∀ {n} → Fin (suc n)
|
||||
suc : ∀ {n} → (i : Fin n) → Fin (suc n)
|
||||
Reference in new issue
Block a user