aboutsummaryrefslogtreecommitdiff
path: root/backend/backendsupport.icl
diff options
context:
space:
mode:
Diffstat (limited to 'backend/backendsupport.icl')
-rw-r--r--backend/backendsupport.icl6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/backendsupport.icl b/backend/backendsupport.icl
index e92b786..fe5d8a3 100644
--- a/backend/backendsupport.icl
+++ b/backend/backendsupport.icl
@@ -55,12 +55,12 @@ foldStateWithIndexA function array
o` foldStateWithIndexA (index+1)
foldrA function result array
- :== foldrA result 0
+ :== foldrA 0
where
arraySize
= size array
- foldrA result index
+ foldrA index
| index == arraySize
= result
// otherwise
- = function array.[index] (foldrA result (index+1))
+ = function array.[index] (foldrA (index+1))