Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using Lwt with ppx_let instead of ppx_lwt
module Let_syntax = struct
let return = Lwt.return
let (>>=) = Lwt.Infix.(>>=)
let (>>|) = Lwt.Infix.(>|=)
module Let_syntax = struct
let bind m ~f = Lwt.bind m f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment