Skip to content

Commit 24cff53

Browse files
author
Hongbo Zhang
committed
tweak docs
1 parent bba62a5 commit 24cff53

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/Curry-and-Uncurry-functions.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,13 @@ let f_uncurry = fun %uncurry a b -> a + string_of_int b
4747

4848
- When is uncurried function recommended
4949

50-
1. For FFI to JS functions, all object methods are *strongly recommended*
51-
to type it as uncurried function
50+
- For FFI to JS functions, all object methods are *strongly recommended*
51+
to type it as uncurried function.
5252

53+
- When function is passed as a callback
5354

54-
55-
2. When function is passed as a callback
56-
57-
This is mostly for performance issues, it is hard to optimize in
58-
such scenario
55+
This is mostly for performance issues, it is hard to optimize in
56+
such scenario.
5957

6058

6159

0 commit comments

Comments
 (0)