mirage / ocaml-github

GitHub APIv3 OCaml bindings
ISC License
100 stars 61 forks source link

README: update Github_cookie_jar usage #221

Closed naartjie closed 5 years ago

naartjie commented 5 years ago

add init () |> Lwt_main.run to the toplevel example

avsm commented 5 years ago

Thanks for this! I think the original reason it wasnt like this is that utop automatically evalutes lwt threads, but its clearer like this with the init.