Because it’s uncurried. If you change the code to
it won’t be needed:
let encode = (codec, value) => codec.encode(value)
Because it’s uncurried. If you change the code to
it won’t be needed:
let encode = (codec, value) => codec.encode(value)