This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Merge branch 'exo'
Exo 2 with fibonacci
DricomDragon
5 years ago
parent
573d661c54
d320318a8d
commit
1f32792165
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
3
0
myfibo.hs
+ 3
- 0
myfibo.hs
View File
@@
-0
,
0
+
1
,
3
@@
+fibo
0
=
1
+fibo
1
=
1
+fibo n = fibo (n -
2
) + fibo (n -
1
)