From da7d6a8493a6bcd77b63e49997963fdd61900e98 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 13 Oct 2023 15:20:20 -0400 Subject: [PATCH] Clean up example --- examples/fibonacci.ds | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/fibonacci.ds b/examples/fibonacci.ds index fcb807f..5da7b17 100644 --- a/examples/fibonacci.ds +++ b/examples/fibonacci.ds @@ -1,9 +1,9 @@ -fibonacci = function { - if number <= 1 { +fib = function { + if i <= 1 { 1 } else { - (fibonacci number - 1) + (fibonacci number - 2) + (fib i - 1) + (fib i - 2) } } -(fibonacci 5) +(fib 5)