You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the error should always come first, as this allows you to create constructors for different families of errors. Whereas I can't see any use for fixing the action but varying the error.
I agree, which is why I made killFiber what it is. But all the AVar actions have the AVar first :/. Personally I really hate AVar first, but all the Ref APIs use this order as well 😞
killFiber :: Error -> Fiber eff a -> Aff eff Unit
killVar :: AVar a -> Error -> Aff (avar :: AVAR | eff) Unit
Should the error come first or second?
The text was updated successfully, but these errors were encountered: