From 18563e492547637f95cc4b0ba6007f59de406e6a Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 20 Apr 2024 09:14:25 +0100 Subject: Fix comment Limit is n-1. --- examples/fold.fco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fold.fco b/examples/fold.fco index 4cb5b06..97b6de8 100644 --- a/examples/fold.fco +++ b/examples/fold.fco @@ -6,7 +6,7 @@ def op(acc x) end end -# generate a list with integers from 1 to n +# generate a list with integers from 1 to n-1 def range(n) def genrec(l limit n) if <(n limit) -- cgit v1.2.3