File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,7 @@ protected import Flags;
101101protected import Error ;
102102protected import Util ;
103103
104- public
105-
106- // Input types:
107- replaceable type ValueType subtypeof Any ;
104+ public replaceable type ValueType subtypeof Any ;
108105
109106replaceable type ElementType subtypeof Any ;
110107replaceable type ElementType1 subtypeof Any ;
@@ -1574,7 +1571,7 @@ algorithm
15741571 case (i :: irest, _, _)
15751572 equation
15761573 arr = arrayUpdate(inArray, i, inIndex);
1577- arr = setPos(inList , inArray, inIndex);
1574+ arr = setPos(irest , inArray, inIndex);
15781575 then
15791576 arr;
15801577
@@ -2318,7 +2315,7 @@ algorithm
23182315 outList := listReverse(map1r_tail(inList, inFunc, inArg1, {}));
23192316end map1r;
23202317
2321- protected function map1r_tail
2318+ public function map1r_tail
23222319 "Tail-recursive implementation of map1r"
23232320 input list< ElementInType > inList;
23242321 input MapFunc inFunc;
You can’t perform that action at this time.
0 commit comments