Add files

This commit is contained in:
2022-09-04 10:23:17 +01:00
parent 8c0ad639ad
commit 4ad19aa19d
3 changed files with 129 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TemplateHaskell #-}
module Loop.Data where
data ConcurrentEffect world
= NoConcurrentEffect
| ConcurrentEffect
{ _immediateEffect :: world -> world
, _sideEffect :: IO (world -> Maybe world)
}