Created
September 15, 2019 05:06
-
-
Save perjerz/0648c872ea1046e764dc8201aecbc55c to your computer and use it in GitHub Desktop.
Ajarn dave
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
factorial :: Int -> Int | |
factorial 0 = 1 | |
factorial n = n * factorial (n - 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment