Skip to content

Commit c80571c

Browse files
authored
Merge pull request #752 from amistozy/fix-doc
fix(doc): correct argument order in zipwith eta-expansion example
2 parents d6965ed + b8b0bad commit c80571c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/vscode/koka.language-koka/whatsnew.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generating direct C code without needing a runtime system. To learn more:
3030

3131
The rule is to eta-expand any underscores sequentially up to the innermost argument
3232
position (unless the argument is a single underscore by itself) -- e.g.,
33-
`zipwith([1],[3], _.inc.max(_) )` expands to `[1].zipwith([3], fn(x,y) x.inc.max(y) )`,
33+
`zipwith([1],[3], _.inc.max(_) )` expands to `zipwith([1],[3], fn(x,y) x.inc.max(y) )`,
3434
and `[1].println(list/show(_,int/show(_)))` expands to `[1].println(fn(xs) list/show(xs,fn(x) int/show(x)))`.
3535

3636
- Update the mimalloc allocator to v2.2.4

0 commit comments

Comments
 (0)