We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3475bc4 commit 43fa37cCopy full SHA for 43fa37c
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 => bool) => 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