I have the following function in TS, I would like to rewrite it to an arrow function.
I tried with no result. Could you please point me the right direction? Thanks!
function log<T>(message: T): IO<void> {
return new IO(() => console.log(message));
}