ProjectEuler 2, nearly (#125)

This commit is contained in:
Patrick Stevens
2020-04-19 13:40:22 +01:00
committed by GitHub
parent e660eceb43
commit 485b27e009
11 changed files with 751 additions and 488 deletions

View File

@@ -14,6 +14,8 @@ data Vec {a : _} (X : Set a) : -> Set a where
[] : Vec X zero
_,-_ : {n : } -> X -> Vec X n -> Vec X (succ n)
infixr 10 _,-_
vecLen : {a : _} {X : Set a} {n : } Vec X n
vecLen {a} {X} {n} v = n