Refactor concurrent side effects
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ module Loop.Data where
|
||||
data ConcurrentEffect world
|
||||
= NoConcurrentEffect
|
||||
| ConcurrentEffect
|
||||
{ _immediateEffect :: world -> world
|
||||
{ _immediateUpdate :: world
|
||||
, _sideEffect :: IO (world -> Maybe world)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user