Skip to content

Commit 9fb26dd

Browse files
Merge pull request #23 from jeremyjh/patch-1
Update 3ch.md
2 parents 6ce7188 + 08a9824 commit 9fb26dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorials/3ch.md

+2
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,8 @@ liftIO; but [MonadBaseControl IO][mbc] also makes things like a lifted [withMVar
530530
really just a specialization of [bracket][lbrkt]. You will also find lots of other libraries on hackage which
531531
use these instances - at present count there are more than 150 [packages using it][reverse].
532532

533+
One note of caution: This instance can enable use of functions such as `forkIO` (or, `fork` from lifted-base[lbase]) which compromise invariants in the `Process` monad and can lead to confusing and subtle issues. Always use the Cloud Haskell functions such as spawnLocal instead.
534+
533535

534536
[1]: hackage.haskell.org/package/distributed-process/docs/Control-Distributed-Process.html#v:receiveWait
535537
[2]: hackage.haskell.org/package/distributed-process/docs/Control-Distributed-Process.html#v:expect

0 commit comments

Comments
 (0)