Skip to content

Commit ddb2aab

Browse files
committed
typos.
1 parent 495a860 commit ddb2aab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/1ch.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ will not block the caller, even if the caller is sending messages to itself!
9595

9696
Receiving works the opposite way, blocking the caller until a message
9797
matching the expected type arrives in our (conceptual) mailbox. If multiple
98-
messages of that type are present in the mailbox, they're be returned in FIFO
99-
order, if not, the caller is blocked until a message arrives that can be
98+
messages of that type are present in the mailbox, they'll be returned in FIFO
99+
order. If not, the caller is blocked until a message arrives that can be
100100
decoded to the correct type.
101101

102102
Let's spawn two processes on the same node and have them talk to each other.
@@ -184,13 +184,13 @@ In distributed-process if `f : T1 -> T2` then
184184
$(mkClosure 'f) :: T1 -> Closure T2
185185
{% endhighlight %}
186186

187-
That is, the first argument to the function we pass to mkClosure will act
187+
That is, the first argument to the function we pass to `mkClosure` will act
188188
as the closure environment for that process. If you want multiple values
189189
in the closure environment, you must "tuple them up".
190190

191191
We need to configure our remote table (see the documentation for more details)
192192
and the easiest way to do this, is to let the library generate the relevant
193-
code for us. For example (taken from the distributed-process-platform test suites):
193+
code for us. For example:
194194

195195
{% highlight haskell %}
196196
sampleTask :: (TimeInterval, String) -> Process String

0 commit comments

Comments
 (0)