-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Lwt tutorial examples to match new tutorial
In particular: - Change `C.log` to `log_s`. `log` is the emergency non-blocking version that discards data if the buffer is full. We should not encourage its use in a tutorial. Also, it doesn't demonstrate using Lwt. - Use `>>=` rather than `>|=` because the tutorial didn't introduce it yet. - Don't use `_` to ignore exceptions in timeout example. - Moved some functions out of `start` for clarity. - Remove mvar and stream examples, as they're no longer in the tutorial.
- Loading branch information
Showing
6 changed files
with
34 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters