Created
March 20, 2017 02:10
-
-
Save eccstartup/bf08a9b8b508e45fb8beaafbcdf866c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE NPlusKPatterns #-} | |
f1 0 = 0 | |
f1 (n+1) = n+1 + f1 n | |
f2 0 = 0 | |
f2 (n+2) = n+2 + f2 (n+1) |
Author
eccstartup
commented
Mar 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment