mirror of
https://github.com/graninas/Hydra.git
synced 2024-12-26 02:23:36 +03:00
warnings discard monad resutl
This commit is contained in:
parent
6fb58bcc05
commit
e6c631a125
@ -24,7 +24,7 @@ getOrInitSqlConn cfg = do
|
||||
-- TODO: rework it
|
||||
foreverAppFree :: L.AppL a -> L.AppL ()
|
||||
foreverAppFree app = do
|
||||
app
|
||||
_ <- app
|
||||
awaitVar <- L.newVarIO (1 :: Int)
|
||||
L.process $ do
|
||||
L.delay 10000000000
|
||||
@ -36,7 +36,7 @@ foreverAppFree app = do
|
||||
-- TODO: rework it
|
||||
foreverAppChurch :: CL.AppL a -> CL.AppL ()
|
||||
foreverAppChurch app = do
|
||||
app
|
||||
_ <- app
|
||||
awaitVar <- CL.newVarIO (1 :: Int)
|
||||
CL.process $ do
|
||||
CL.delay 10000000000
|
||||
|
Loading…
Reference in New Issue
Block a user