update more List.walk uses

This commit is contained in:
Folkert 2021-10-10 12:35:52 +02:00
parent ebcee4021c
commit 15a2ac7410
3 changed files with 8 additions and 8 deletions

View file

@ -3396,7 +3396,7 @@ mod solve_expr {
cheapestOpen : Model position -> Result position [ KeyNotFound ]*
cheapestOpen = \model ->
folder = \position, resSmallestSoFar ->
folder = \resSmallestSoFar, position ->
when resSmallestSoFar is
Err _ -> resSmallestSoFar
Ok smallestSoFar ->
@ -3689,7 +3689,7 @@ mod solve_expr {
List.walkBackwards
"#
),
"List a, b, (a, b -> b) -> b",
"List a, b, (b, a -> b) -> b",
);
}