-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed unification + lwt bugs, added tests.
- Loading branch information
Showing
8 changed files
with
40 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
0.1 (2013-06-09): | ||
0.1 (2013-06-10): | ||
* first alpha release |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* Fix Lwt type unification bug (that renders it unusable) | ||
* Async backend ? |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
open Smtp_lwt | ||
|
||
let () = match Lwt_main.run | ||
(sendmail | ||
~port:"2525" | ||
~name:"localhost" | ||
~from:Addr.(of_string "[email protected]") | ||
~to_:[Addr.(of_string "[email protected]")] | ||
~body:"Bleh" ()) with | ||
| `Ok (code, msg) -> Printf.printf "OK %d %s\n" code msg | ||
| `Failure (code, msg) -> Printf.eprintf "Failure %d %s\n" code msg |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
open Smtp_unix | ||
|
||
let () = match | ||
(sendmail | ||
~port:"2525" | ||
~name:"localhost" | ||
~from:Addr.(of_string "[email protected]") | ||
~to_:[Addr.(of_string "[email protected]")] | ||
~body:"Bleh" ()) with | ||
| `Ok (code, msg) -> Printf.printf "OK %d %s\n" code msg | ||
| `Failure (code, msg) -> Printf.eprintf "Failure %d %s\n" code msg |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module IO : Smtp.IO = struct | ||
module IO = struct | ||
type 'a t = 'a | ||
let return v = v | ||
let bind v f = f v | ||
|