curry-howard

Slides of a (very) informal lecture of mine on the Curry-Howard correspondence

Commit
bf6ed36875c9ffb7c59dda8166df6976b7680ca6
Parent
368a2cf278a888d323e92b1a2c793f4eef3ab4e0
Author
Pablo <pablo-escobar@riseup.net>
Date

Minor tweak in an example

Diffstat

1 file changed, 4 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified examples/factorial.py 8 4 4
diff --git a/examples/factorial.py b/examples/factorial.py
@@ -1,5 +1,5 @@
 def f(n):
-    if n == 0:
-        return 1
-    else:
-        return n * f(n - 1)
+   if n == 0:
+      return 1
+   else:
+      return n * f(n - 1)