Skip to content

Commit 4f89e3f

Browse files
ilankrivasilisp
authored andcommitted
Fix misspelled word in Graffiti tutorial (#11)
1 parent 12ed0c9 commit 4f89e3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2016-03-30-tuto-graffiti2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ behave as the `first` of the two following lines that terminates:
173173

174174
Functions in Eliom and Js_of_ocaml which do not implement just a
175175
computation or direct side effect, but rather wait for user activity,
176-
or file system access, or need a unforseeable amount of time to return
176+
or file system access, or need a unforeseeable amount of time to return
177177
are defined *with Lwt*; instead of returning a value of type `a`
178178
they return an Lwt thread of type `a Lwt.t`.
179179

@@ -232,7 +232,7 @@ run. Cooperative functions return a value in the Lwt monad
232232
`Lwt.bind` and `Lwt.return` do not introduce cooperation points.
233233

234234
In our example, the function `Lwt_js_events.mouseup` may introduce
235-
a cooperation point, because it is unforseeable when this event
235+
a cooperation point, because it is unforeseeable when this event
236236
happens. That's why it returns a value in the Lwt monad.
237237

238238
Using cooperative threads has a huge advantage: given that you know

0 commit comments

Comments
 (0)