Skip to content

Commit 2242e84

Browse files
committed
Update CHANGELOG.md
1 parent 83ba6a5 commit 2242e84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
- Add support for partial application of uncurried functions: with uncurried application one can provide a
2121
subset of the arguments, and return a curried type with the remaining ones https://github.com/rescript-lang/rescript-compiler/pull/5805
2222
- Add support for uncurried externals https://github.com/rescript-lang/rescript-compiler/pull/5815 https://github.com/rescript-lang/rescript-compiler/pull/5819
23+
- Unify uncurried functions of arity 0 with functions of arity 1 taking unit. They're now equivalent. https://github.com/rescript-lang/rescript-compiler/pull/5825
24+
2325

2426
#### :boom: Breaking Change
2527

@@ -32,7 +34,6 @@ subset of the arguments, and return a curried type with the remaining ones https
3234
- Curried after uncurried is not fused anymore: `(. x) => y => 3` is not equivalent to `(. x, y) => 3` anymore. It's instead equivalent to `(. x) => { y => 3 }`.
3335
Also, `(. int) => string => bool` is not equivalen to `(. int, string) => bool` anymore.
3436
These are only breaking changes for unformatted code.
35-
- Distinguish between uncurried type `(. ()) => int`, whch takes 0 arguments, and `(. unit) => int` which takes 1 argument of type `unit` https://github.com/rescript-lang/rescript-compiler/pull/5821
3637

3738
#### :bug: Bug Fix
3839

0 commit comments

Comments
 (0)