From d59370bdc7ed9dd2c9e49db9bed9e7eca2abd1cb Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Wed, 28 May 2014 21:04:46 +0300 Subject: [PATCH] clean stash a little --- stash/example.vm | 10 ---------- stash/fibo_recursice.ruby | 8 -------- 2 files changed, 18 deletions(-) delete mode 100644 stash/example.vm delete mode 100644 stash/fibo_recursice.ruby diff --git a/stash/example.vm b/stash/example.vm deleted file mode 100644 index 91d49278..00000000 --- a/stash/example.vm +++ /dev/null @@ -1,10 +0,0 @@ - -function factorial(n) { - if (eq(n, 1)) { - 1 - } else { - times(n, factorial(minus(n, 1))) - } -} - -print(factorial(4)) diff --git a/stash/fibo_recursice.ruby b/stash/fibo_recursice.ruby deleted file mode 100644 index 780ff5da..00000000 --- a/stash/fibo_recursice.ruby +++ /dev/null @@ -1,8 +0,0 @@ -def fibonaccir( n , put ) - return n if n <= 1 - res = fibonaccir( n - 1 , put ) + fibonaccir( n - 2 , false ) - puts(res) if put - res -end - -fibonaccir( 10 , true)