Skip to content

Commit

Permalink
Simplify polymorphic types of function mapAllValue
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel authored and OpenModelica-Hudson committed Mar 20, 2017
1 parent d628e4c commit f159b76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/Util/List.mo
Expand Up @@ -3040,13 +3040,13 @@ algorithm
end for;
end mapListAllValueBool;

public function foldAllValue<TI, TO, VT, ArgT1>
public function foldAllValue<TI, TO, ArgT1>
"Applies a function to all elements in the lists, and fails if not all
elements are equal to the given value. This function also takes an extra
argument that are passed to the mapping function and updated"
input list<TI> inList;
input MapFunc inMapFunc;
input VT inValue;
input TO inValue;
input ArgT1 inArg1;

partial function MapFunc
Expand Down

0 comments on commit f159b76

Please sign in to comment.