fun

Remove prime line that was buggy

Author
Maarten 'Vngngdn' Vangeneugden
Date
Nov. 28, 2017, 2:20 p.m.
Hash
9eb09c5285e15eb2d77a892bb79f3162a1c7b0d4
Parent
05f6801f0272f788510fc563e0196472730a75a5
Modified file
ackermann.hs

ackermann.hs

0 additions and 2 deletions.

View changes Hide changes
1
-
2
-
ackermann m n
3
1
  | m == 0          = n + 1
4
2
  | m > 0 && n == 0 = ackermann (m-1) 1
5
3
  | m > 0 && n > 0  = ackermann (m-1) (ackermann m (n-1))
6
4