We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 96e0140 + a3c4d15 commit 8cd780bCopy full SHA for 8cd780b
src/Control/Monad/Aff.purs
@@ -236,7 +236,8 @@ instance applyParAff :: Apply (ParAff e) where
236
putOrKill :: forall a. AVar a -> Either Error a -> Aff e Unit
237
putOrKill v = either (killVar v) (putVar v)
238
239
-derive newtype instance applicativeParAff :: Applicative (ParAff e)
+instance applicativeParAff :: Applicative (ParAff e) where
240
+ pure = ParAff <<< pure
241
242
-- | Returns the first value, or the first error if both error.
243
instance altParAff :: Alt (ParAff e) where
0 commit comments