changeset 3963:aed9d0f65de6

<kmc> printf \'fun fact 0 = 1\\n | fact n = n * fact (n - 1)\\n\' > wisdom/fun\\ fact
author HackBot
date Thu, 31 Oct 2013 23:04:42 +0000
parents 2d90bdbb6e1f
children 3d1bcac0c161
files wisdom/fun fact
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wisdom/fun fact	Thu Oct 31 23:04:42 2013 +0000
@@ -0,0 +1,2 @@
+fun fact 0 = 1
+  | fact n = n * fact (n - 1)