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
dataUnit=Unitunit::Unit
unit = UnittypePendingComputationa= (Unit->a)
dataEffecta=Box (PendingComputationa->a)
unsafePerformEffect::{- forall a. -}Effecta->a
unsafePerformEffect (Box pendingComputation) = pendingComputation unit
-- ^^^^{- Could not match type Unit with type Unit -> a0-}
type PendingComputation a = (Unit -> a)
-- expands to Box (Unit -> a -> a)
-data Effect a = Box (PendingComputation a -> a)
-- expands to Box (Unit -> a)
+data Effect a = Box (PendingComputation a)
source
try.purescript.org
As a suggestion
The text was updated successfully, but these errors were encountered: