Skip to content

Commit 55134b2

Browse files
committed
example twiddle.
1 parent d7d48d0 commit 55134b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tutorials/1ch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ main = do
269269
node <- newLocalNode transport myRemoteTable
270270
runProcess node $ do
271271
us <- getSelfNode
272-
_ <- spawnLocal $ sampleTask (1 :: Int, "locally")
273-
pid <- spawn us $ $(mkClosure 'sampleTask) (1 :: Int, "remotely")
272+
_ <- spawnLocal $ sampleTask (1 :: Int, "using spawnLocal")
273+
pid <- spawn us $ $(mkClosure 'sampleTask) (1 :: Int, "using spawn")
274274
liftIO $ threadDelay 2000000
275275
{% endhighlight %}
276276

0 commit comments

Comments
 (0)