We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ryyppy
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e40c66f commit 0fd12adCopy full SHA for 0fd12ad
pages/docs/manual/v11.0.0/interop-cheatsheet.mdx
@@ -159,7 +159,7 @@ var result3 = Caml_option.nullable_to_opt(10);
159
160
```res example
161
@send external map: (array<'a>, 'a => 'b) => array<'b> = "map"
162
-@send external filter: (array<'a>, 'a => 'b) => array<'b> = "filter"
+@send external filter: (array<'a>, 'a => bool) => array<'a> = "filter"
163
[1, 2, 3]
164
->map(a => a + 1)
165
->filter(a => mod(a, 2) == 0)
0 commit comments