Browse Source

Merge branch 'exo'

Exo 2 with fibonacci
DricomDragon 5 years ago
parent
commit
1f32792165
1 changed files with 3 additions and 0 deletions
  1. 3 0
      myfibo.hs

+ 3 - 0
myfibo.hs

@@ -0,0 +1,3 @@
+fibo 0 = 1
+fibo 1 = 1
+fibo n = fibo (n - 2) + fibo (n - 1)