diff --git a/src/exo1/exo1.ts b/src/exo1/exo1.ts index 3d32ddf..02c5707 100644 --- a/src/exo1/exo1.ts +++ b/src/exo1/exo1.ts @@ -75,7 +75,7 @@ export const asyncDivide = async (a: number, b: number) => { // // HINT: TaskEither has a special constructor to transform a Promise into // a TaskEither: -// - `TaskEither.tryCatch(onReject: err => leftValue, onResolve: val => rightValue)(promise)` +// - `TaskEither.tryCatch(f: () => promise, onReject: reason => leftValue)` export const asyncSafeDivideWithError: ( a: number,