3b0fb0a3ea52

Fix sub() in list-out-of-lambda.html
[view raw] [browse files]
author Ivan Vyshnevskyi <sainaen@gmail.com>
date Sun, 31 Mar 2013 18:32:09 +0300
parents 56490526347a
children bb7f34f82be5
branches/tags (none)
files content/blog/2013/03/list-out-of-lambda.html

Changes

--- a/content/blog/2013/03/list-out-of-lambda.html	Sat Mar 30 14:10:03 2013 -0400
+++ b/content/blog/2013/03/list-out-of-lambda.html	Sun Mar 31 18:32:09 2013 +0300
@@ -789,7 +789,7 @@
         if (is_zero(b)) {
             return a;
         } else {
-            return add(dec(a), dec(b));
+            return sub(dec(a), dec(b));
         }
     };