diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-04-20 09:14:25 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-04-20 09:14:25 +0100 |
commit | 18563e492547637f95cc4b0ba6007f59de406e6a (patch) | |
tree | a1f0123797ce9fd64ae38aeba589cad4efc28688 /examples/fold.fco | |
parent | db2cc10ca2300f3a905acb57c5f144ff103d58a2 (diff) | |
download | funco-18563e492547637f95cc4b0ba6007f59de406e6a.tar.gz funco-18563e492547637f95cc4b0ba6007f59de406e6a.zip |
Fix comment
Limit is n-1.
Diffstat (limited to 'examples/fold.fco')
-rw-r--r-- | examples/fold.fco | 2 |
1 files changed, 1 insertions, 1 deletions
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) |