2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

Haskell angefangen

This commit is contained in:
Martin Thoma 2014-02-01 15:32:13 +01:00
parent ff14701ccf
commit 3b44772968
14 changed files with 147 additions and 6 deletions

View file

@ -0,0 +1,4 @@
binom n k =
if (k==0) || (k==n)
then 1
else binom (n-1) (k-1) + binom (n-1) k