Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

The big migration thread for ReScript v11 (and uncurried mode)

$
0
0

An even simpler example demonstrating the same problem, with a different error:

let f: array<int> => Belt.Set.Int.t = Belt.Set.Int.fromArray

yields:

[E] Line 1, column 38:
This function is a curried function where an uncurried function is expected

How do you specify a curried function type of arity 1?


Viewing all articles
Browse latest Browse all 2592

Trending Articles