Last active
June 24, 2016 19:01
-
-
Save rneswold/5ace9696ec92a41825f6f08607ff5dec to your computer and use it in GitHub Desktop.
Alternate `Lwt_stream` (signature)
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
exception End_of_stream | |
type 'a t | |
val create : unit -> 'a t * ('a -> unit) | |
val clone : 'a t -> 'a t | |
val next : 'a t -> 'a Lwt.t | |
val iter : ('a -> unit Lwt.t) -> 'a t -> unit Lwt.t | |
val map : ('a -> 'b) -> 'a t -> 'b t | |
val filter : ('a -> bool) -> 'a t -> 'a t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment