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

Why the function call in pipe expression needs to wrap parentheses now?

$
0
0

Because it’s uncurried. If you change the code to :arrow_down: it won’t be needed:

  let encode = (codec, value) => codec.encode(value)

Viewing all articles
Browse latest Browse all 2592

Trending Articles