From d1b349c8c07d867c81bbe7f3d509b43af0b8b4b9 Mon Sep 17 00:00:00 2001 From: Serhii Khoma Date: Wed, 9 Oct 2024 17:52:38 +0700 Subject: [PATCH] Update Compat.purs --- src/Effect/Aff/Compat.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Effect/Aff/Compat.purs b/src/Effect/Aff/Compat.purs index 13fe757..6d95749 100644 --- a/src/Effect/Aff/Compat.purs +++ b/src/Effect/Aff/Compat.purs @@ -24,7 +24,7 @@ newtype EffectFnCanceler = EffectFnCanceler (EffectFn3 Error (EffectFnCb Error) -- | `Effect` thunks are unnecessary. A definition might follow this example: -- | -- | ```javascript --- | exports._myAff = function (onError, onSuccess) { +-- | exports function _myAff(onError, onSuccess) { -- | var cancel = doSomethingAsync(function (err, res) { -- | if (err) { -- | onError(err);